iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
i have form with webcombo, sqldatasource, webbutton, and flaypostbackmanager. I try on after i click webbutton go to server side with flaypostbackmanager add new row to table of sqldatasource select and set this value to webcombo on form.
is no problem with set this information on webcombo but webcombo not show this value.
how can i refresh data source after add new item to the table ? I try to use ISDatasource but is the same..
thank you for help
regards
Adam
Hello,
If the data has not been inserted to database, you would not be able to show the value. Please let us know about what code that you used in your sample. We need it to investigate your current issue. FYI, We also have a sample about how to add new row in database, AddItem.aspx. Regards,Handy
INSERT INTO [knaso] (COL1, COL2, COL3, ID) VALUES ('1','A1', 'B1, 12);
SELECT TOP(1) COL1 FROM knaso WHERE ID = 12cWebCombo.Value = COL1; --> new selected valuecWebCombo.RequiresUIRefresh = true;cWebCombo.DataBind();
// Send the new value to client side ClientScript.RegisterStartupScript (GetType(), "Javascript", "javascript: setText('" + id + "'); ", true);
In my client side code, I set the value to WebCombo. Here’s the script below:
function setText(val) { var WebCombo1 = ISGetObject("WebCombo1"); // Set the WebCombo value WebCombo1.SetText(val, true); }
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname