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 Doug,
I have consulted your inquiry with the developer team.
Actually, we do have a documentation topic about Event sequence in WebGrid. You can locate the topic from WebGrid 7 Documentation from Start Menu >> All Programs >> Intersoft WebUI Studio 2010 R2 >> WebUI Studio for ASP.NET >> WebGrid 7.
Browse through Features and Concepts >> Events >> Event sequence of server side events. You will get the information about the Event sequence valid in WebGrid.
Based on the event sequence, InitializeLayout Server-side event will be invoked before InitializeDataSource and PrepareDataBinding events. Means that it is not possible for grid to obtain the tables' name and columns' name.
Via Client-side, you can get the table info from the row object.
Please refer to the Event sequence topic for more information.
Hope this helps.
Thank you.
Hello Maged,
Did you apply the assemblies in your project's bin folder?
Update Manager will only update the assemblies in [Installation Folder]\Intersoft Solutions\WebUI Studio for ASP.NET. Means that you need to apply manually on your project's bin folder.
Here is the step to update WebGrid build version:
You might want to update WebUI Framework build version too:
To ensure that you have used the latest build version, right-click on WebGrid control when you are in Design view on your project and select About. It will show a dialog box that contains information about WebGrid and WebUI Framework build version you are currently using.
Have you tried to use Update Manager tool? The latest hotfix build is already available and can be downloaded and installed from Update Manager.
To apply the changes, you simply need to copy the latest assemblies to your bin directory project. You may need to update WebUI Framework as well.
It is much easier if you use Update Manager because the tool will automatically apply the changes on your controls.
Hello Mark,
It is possible to achieve your scenario.
First of all, you need to create an event, set the EventType to Event and StartDate to any specific date you want to, such as following:
<Intersoft:UXCalendar HorizontalAlignment="Left" Margin="10,10,0,0" Name="uXCalendar1" VerticalAlignment="Top" CalendarDayButtonStyle="{StaticResource UXCalendarDayButtonStyle1}"> <Intersoft:UXCalendar.Events> <Intersoft:UXCalendarEventItem StartDate="1/15/2011" /> <Intersoft:UXCalendarEventItem StartDate="1/20/2011" /> </Intersoft:UXCalendar.Events> </Intersoft:UXCalendar>
Open your project using Microsoft Expression Blend. Right-click on the WebCalendar control and select Edit Additional Templates >> Edit CalendarDayButtonStyle >> Edit a Copy, then click OK.
Add the following code in the EventStates:
<VisualStateGroup x:Name="EventStates"> <VisualState x:Name="HasEvent"> <Storyboard> <ColorAnimation Duration="0" To="Red" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" Storyboard.TargetName="SelectedGlass"/> </Storyboard> </VisualState> <VisualState x:Name="NoEvent"/> </VisualStateGroup>
Attached is the sample file for your reference.
Hello,
I think that would be the best way for styling since WebInput has provided TextBoxStyle for user to customize the WebInput's element.
My code is similar to yours.
function DoUncheck() { var grid = ISGetObject("WebGrid1"); var table = grid.GetRootTable(); var checkedRows = table.GetCheckedRows(); for (var i = 0; i < checkedRows.length; i++) { var selectedRows = checkedRows[i].childNodes[1].childNodes[0]; selectedRows.click(); } }
Well, I think that's the best way so far for your scenario.
Hello Adam,
Yes, the grouping works fine. However, your sample will show an error when I group since I don't have your database, but the layout is fine.
You could try our sample on Grouping.aspx sample for your reference.
You can use the following code to check/uncheck all rows:
function DoUncheck() { var grid = ISGetObject("WebGrid1"); var colHeader = grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLDIV); var checkRowElm = colHeader.childNodes[0].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes[0]; checkRowElm.click(); }
I have tried your sample and it works fine on my end. The columns are well-aligned when WebGrid is using XHTML DocType.
I'm currently using build 418 for WebGrid when I tested the sample.
I have attached a screenshot for your reference.
We are going to release the latest hotfix build 418 by today. However, here is the link to download the nightly-build hotfix if you need to test your project.
http://www.intersoftpt.com/tdn/downloads/WebGridNET7_0_7200_418.zip
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