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 Udayan,
I can replicate your issue here. But for this issue, I've made my workaround to set the colgroup width after you do BatchUpdate. I also attach the sample here. Could you look for my code and tell me if there's some misconfiguration on my code?
Or you use if(!IsPostBack), when you set the structure of WebGrid (if you don't want to get the WebGrid structure continously). Look forward to hear any feedback from you so I can help you further.
Regards,
Bernard
Hi Girish,
From you code, I don't see any code that trigger Postback. If you have any server-side method behind maybe you can save the keyValue on HiddenField. The during InitializeRow check the cells and set selected property on row object as true value. If this problem still occurs, could you give me a simple sample that replicate this issue?
I couldn't replicate you issue in our local end. Could you let me know the steps and browser that you used to replicate this issue in our local end? Maybe to resolve this problem, you can set the width of the row OnBatchUpdateSuccess event from filterRow. But it will be more certain if I can replicate this issue in our local end so I can give you solution that might work in your project.
I'll make this scenario as feature request and I will tell you if I heard any news regarding this feature request.
Hi Eric,
Sorry for my lack. I'm not really understood about the scenario that you mention above. However, you can add WebGrid programmatically to you WebTabby using this code:
protected void Page_Load(object sender, EventArgs { WebGrid WebGrid1 = new WebGrid(); WebGrid1.UseDefaultStyle = true; WebGrid1.Width = Unit.Pixel(400); WebGrid1.Height = Unit.Pixel(200); WebGrid1.InitializeDataSource += new DataSourceEventHandler(WebGrid1_InitializeDataSource); WebGrid1.PrepareDataBinding += new DataSourceEventHandler(WebGrid1_PrepareDataBinding); WebTab tab1 = new WebTab(); WebTabItem theTab = new WebTabItem(); theTab.Text = "Tab1"; theTab.PageTemplate = new MyClass(WebGrid1); tab1.TabPages.Add(theTab); form1.Controls.Add(tab1); } public class MyClass : ITemplate { WebGrid grid1 = null; public MyClass(WebGrid grid1) { this.grid1 = grid1; } public void InstantiateIn(System.Web.UI.Control container) { container.Controls.Add(grid1); } }
You override ITemplate class in MyClass class then you add the method to add the WebGrid there. Could you explain more details about the requirement or scenario that you want to achieve above? Look forward to hear any feedback from you so I can help you further.
From post above, this problem might be happen because WebGrid doesn't have any selected row (lost focus). To resolved this, you can select the row that you replaced before by using this code in client side:
function select() { var WebGrid1 = ISGetObject("WebGrid1"); WebGrid1.RootTable.GetRow(index).Select(); //(int)index of the row that you have replaced return true; }
If this problem still happen, could you give me a simple sample that can be executed in our local end so we can debug it here? Look forward to hear any feedback from you so I can help you further.
Is it fixed yet? Look forward to hear any feedback from you so I can help you further.
Perhaps you can tell me the scenario that you want to achieve. What kind of printing result that you want to print? Look forward to hear any feedback from you so I can help you further.
Hi Gary,
Our latest product support Visual Studio 2012, that means you can use .NET Framework 4.5 for your project. I also try to use Entity Framework 5 in my project and it works well.
For more information please visit: http://www.intersoftpt.com/vs2012/
Hope this helps.
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