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
How should i called the function?
I have 2 functions defined as below, wtvActivity_OnNodeCheckedChanged is called without problem but not RefreshScheduler:
a[i] = checkedNodes[i].Name;
{ hidden1.value = a[i]; }
}
sched.RefreshAll();
Below is the code how i called the function:
<ISWebScheduler:WebScheduler ID="wsSchedule" runat="server" CategoriesDataMember="ttCategories" DataSourceID="ISDSSchedule"
I tested with all other client side events OnDataBinding / OnDataBound / OnInit / OnInsert / OnLoad / OnPreInitialize / OnPreRender / OnUpdate.
and i get error:
BC30456: 'RefreshScheduler' is not a member of 'ASP.schstaffplanner_aspx'.
Pls advise.
The code should be placed in client/server site?
Can u provide a sample?
Thanks!
Hi Glenn,
Now my WebScheduler can connect to different database dynamically during run time, but there's another issue.
Initially there's no record in Events and RecurringEvents table. So when my system load the page with WebScheduler, the WebScheduler will show calendar only as there's no event yet.
On the same page, i have button to insert record into Events and RecurringEvents table. When i click the button and insert record and the page is post back, the content in WebScheduler is not updated accordingly, the WebScheduler still show calendar only without any event. I need to refresh the page manually in order for the WebScheduler to "refresh".
How can i make the WebScheduler to "refresh" during post back after the button is clicked?
Pls advise
ok, it works now!
I hit this error when run the provided code:
Unable to cast object of type 'System.Data.SqlClient.SqlConnection' to type 'System.Data.OleDb.OleDbConnection'
I tried put the code in ISDataSource object created server side event, but the event is not fired when run. You may tried out my previous sample.
For the code u gave previously is in csharp rite, how about vb code?
Hi Andi,
I put the data binding in initialize data source but the data seems like not bound?
Attached is the sample code.
I inserted 2 for RecurrenceInfo.Mode and 0 for RecurrenceInfo.RangeMode then it shows correctly. But i would like to know what does it meant when RecurrenceInfo.Mode = 2 and RecurrenceInfo.RangeMode = 0?
Then regarding your previous post you said we could modify the connection string programatically during ISDataSource object created server side event using reflection. From your snippet, you only change the .mdb? How if i would like to change the connection string as below:
Data Source=DEVDB01\SQLEXPRESS;Initial Catalog=Optimizer_01;Persist Security Info=True;User ID=saUser;Password=saPassword
to
Data Source=DEVDB01\SQLEXPRESS;Initial Catalog=Optimizer_02;Persist Security Info=True;User ID=saUser;Password=saPassword
I tested in the simple sample and it works. However in my project it doesn't work. I wonder it has to do with other component because i do have other component in my project which is WebTreeView.
Attached is the modified simple sample with WebTreeView. There's a "script" folder to create the table and insert data.
After i select record for WebCombo1 and WebCombo2, data will be populated in WebTreeView. When i check all the nodes in the WebTreeView and click the button, the system will insert data into database and PostBack. During PostBack, the WebCombo2.Value = "" but in fact there's selected record.
I tested bind all the required field, but it still show event in events table only.
Attached is the sample i did.
There's "script" folder and there's script to create tables and insert data.
Pls help! thanks!
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