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 there,
webgrid.RootTable.GetCheckedRows() is getting zero in server code even if the row is checked. But the same thing works if i specify the doctype of the page to
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
But the Type which i needed is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
for which the getCheckedRows() is returning zero. Please help me by some workaround.. my webgrid version is 7.0.7200
Thanks.
Hi Clinton,
I tried to replicate your issue in our local end using our sample (RowCheckerColumn.aspx) by changing its doctype to XHTML DocType like you mentioned above. But unfortuantely, this issue doesn't appear in our local end. Could you tell me the steps to replicate this issue in our local end? If possible, you can make a simple sample that can replicate this issue in our local end so I can debug it here. Look forward to hear any feedback from you so I can help you further.
Regards,Bernard
Hi Bernard,
It is found that when i change the Doctype from HTML to XHTML , the Webgrid GetCheckedRows() is not picking the selected rows. But for some jQuery plugins to work, the Doctype needs to be XHTML or simple blank Doctype (like HTML5 - <!DOCTYPE html>). Is there any workaround for the webgrid to make it work under Doctype XHTML.
Example:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > Working Fine (but not desired one)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" > Not Working (desired one)
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