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
Hello,
Yes, your example works fine, but try to change your LayoutSettings to:
I've received javascript error
Brak definicji 'wga7958' (English: There's no definition)
in line:
regards
Andrzej
Hello
It's working on my PC the same as your video show, but when I set ClientSideBinding with Reuse server datasource option, I ve got error System.NullReferenceException in my web browser. Next when I insert manually section like this:
it's working ok
My ver: WebGrid build 401 and Framework build 751
Hello Indra,
Yes , it's on IIS Manager. We have one server with 2003 but it's 32 bit version.
My suggest: On IIS Manager find and expand node with name "Application Poll" (I've a Polish Ver of OS :-( ).
Right click on your application poll and show the propetries. Try to find this setting there.
Best Regards
Andrzej S.
Hi,
So we have two solutions:
1. by using DataSourceID , then use RegisterStartupScript with JS code which set WebComboProduct Value on the client side and make LoadValue on it
2. by using DataSource (with or without AllowAutoQueryHandler depend on how many rows we expected), then in "FormView1_ItemCreated" set DataSource property to your customdata before or after setting Value on WebComboProduct.
In your example we shouldn't use clear "select * from Products"
I think it should be some method to retrieve list of WebCombo on demand (when the DataSourceId is in use). As you've seen the ClearCachedDataSource not working properly.
Regards
Hi Handy,
Thank you for your help, but It's not acceptable method for Product list with few milion records.
SetFilter method don't modify SQL syntax, but set filter only. So app have to receive all records from Product table (it's the most critical point).
We can manually trigger select on any datasource (ie.
ISDataSourceList.Tables.GetNamedItem("Products").ClearCacheAndData(); ISDataSourceList.Tables.GetNamedItem("Products").Select();
Sorry for my embarrassment, but modify WebCombo list on demand should be total base function.
Regards,
Your example explain how to refresh WebCombo on the client side
Maybe I'm not writing clearly or you don't read carefully.
I don't accept method like this:
this.ClientScript.RegisterStartupScript(......
in FormView1_ItemCreated on the server side
I'd like to refresh (prepare) WebCombo in FormView1_ItemCreated before (or after) setting his Value.
Your method WebCombo1.ClearCachedDataSource(); just not working.
I've tried (copy of my first example):
protected void FormView1_ItemCreated(object sender, EventArgs e) { if (FormView1.CurrentMode == FormViewMode.Edit) { DataRowView rowView = (DataRowView)FormView1.DataItem; if (rowView != null) { //test binding WebComboCategory.Value = "2";//Condiments WebComboProduct.ClearCachedDataSource(); //ISDataSourceList.Tables.GetNamedItem("Products").ClearCacheAndData(); //ISDataSourceList.Tables.GetNamedItem("Products").Select(); WebComboProduct.Value = "3";//Aniseed Syrup } } }
My question is : How can I manually refresh WebCombo on the server side ?
Hi
How can I manually refresh WebComboProduct, before setting his Value ?
I've found solution:
In Application Poll Advance Settings set: Enable 32-Bit Applications= True
We prefer also Identity=NetworkService
... we have to take care about perfomance
thank you for support
I'm sorry, but I don't understand. Where would you like to set WebComboProduct.Value to "3" or other value comming from datasource (which is binding to FormView ) ?
We use similar solution with RegisterStartupScript, and set WebComboProduct on the client side, but it's workaround.
Is there no other way ? ... Intersoft have to do that :-)
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