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 Jose Antonio,
You can hide the link button for each row using WebGrid_InitializeCell server-side event. Here's the code:
if (e.Cell.Column.ColumnType == ColumnType.Template) { Label lbl = (Label)e.Cell.GetTemplateContainer().FindControl("Label1"); LinkButton lbtn2 = (LinkButton)e.Cell.GetTemplateContainer().FindControl("LinkButton1"); if (lbl.Text == "Con firma") { lbtn2.Visible = false; lblMensaje.Text = "favor de contactar a su ejecutivo de cuenta"; lblMensaje.Visible = true; } else { lbtn2.Visible = true; } }
When WebGrid initialize cell, WebGrid check if the column type is template and change the content of the template. Hope this helps.
Regards,
Bernard
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