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 David,Could you please let me know where the snippet code placed ?
If you want to add a link in WebGrid base on the cell value, I suggest you to add code on InitializeRow WebGrid event. Then you have to add HyperlinkDisplayText to define text which is shown and HyperlinkFormatString to define where will be navigated after you click the display text. For the example, please follow this code:
WebGrid1.RootTable.Columns[1].HyperlinkDisplayText = " <img alt='" + "?id=" + e.Row.Cel ls[0].Text + "' src='" + e.Row.Cells[1].Text + "'/>"; WebGrid1.RootTable.Columns[1].HyperlinkFormatString = e.Row.Cells[0].Text + ".aspx";
Hope this helps.Riendy
Hi Dilshad,
Just like I told you before, onBarClick event is too fast to execute wgDoResize method. You need to set the time out for your method, because WebGrid need time to execute wgDoResize after it adjust the container. I just add this code on onBarClick event to your sample and it works well on my end.
function WebPane1_OnBarClick() { window.setTimeout(function () { wgDoResize(true, true); }, 1); }
Regards.
Riendy
Hi Eric,
I have forwarded your issue to our development team. I will follow up them and let you for any updates. Anyway, have you read this article?Regards.Riendy
Unfortunately, I was unable to replicate the issue. I Tried to use a WebGrid on WebNavPane, but it works well on my end. Is it possible for you to attach a simple sample which replicate this issue ? Actually, you can use the same way to avoid the resizing. I think onBarClicked event is too fast to excute wgDoResize method. You can try to set time out for your method using this code :
window.setTimeout(function () { wgDoResize(true, true); }, 300);
Regards.Riendy
Hi Udayan,First of all, I am sorry for my mistake. You should not use SaveTablesStructureToXml and LoadTablesStructureToXml, you have to use SaveTablesStructure and LoadTablesStructure.
Let me assist you for a simple sample to save a table structure. After you bind the data into WebGrid, please add 2 buttons. Then add the codes bellow to each button.
protected void Button1_Click(object sender, EventArgs e) { WebGrid1.SaveTablesStructure(Server.MapPath("SampleLayout.xml")); // you can also use another file (i.e .isl file) // WebGrid1.SaveTablesStructure(Server.MapPath("SampleLayout.isl")); } protected void Button2_Click(object sender, EventArgs e) { WebGrid1.LoadTablesStructure(Server.MapPath("SampleLayout.xml")); //WebGrid1.LoadTablesStructure(Server.MapPath("SampleLayout.isl")); WebGrid1.RebindDataSource(); }
Glad to hear that.please do not hesitate to ask us if you have any question later. Have a nice day.
Best regards.Riendy
Hi Udayan,You did well to save the table structure of WebGrid. You can save the table structure as simple as that. But, if you want to show the WebGrid in to the saved structure, you have to load the structure. Then, if you want to show the data as well, you have to rebind the data. Please use this code to show your gridView into the saved state.
gridView.LoadTablesStructureFromXml(Server.MapPath("layout.xml")); gridView.RebindDataSource();
Hello Dilshad,
I could replicate your issue on my end. Actually, it is not caused by the PostBack. The issue happens when you navigate to tab2 then tab1. WebGrid is not set into your current size. To avoid WebGrid resize inside WebTab, you can add the following code at OnAfterTabChanged event on WebTab clientSideEvent property:
wgDoResize(true, true);
This code will set your WebGrid into your current size as like as you've set.
Hello,If there is a problem in documentation during the installation, you can installed the help CAB using the VS help management tools. To add the documeantation manually, please follow this step :
If there is no add in action column (step #6) which want to click, please remove content first using this step :
Hello,Thank you for your feed back to my email Jennifer.
As the result, this issue has been solved in WebCombo v5.0.7200.3
Best Regards.Riendy
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