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
I have a button in a webgrid as a column and its code like below:
<ISWebGrid:WebGridColumn runat="server" Bound="False" ButtonAutoPostback="true" Width="40px" EditType="NoEdit" ButtonText="qweqwe" DataMember="Id" DefaultValue="0" ButtonImage="/Style/Images/tick.png" ColumnType="ButtonImage" NewRowEditType="NoEdit" ButtonPostbackMode="OnTheFly" Name="Id"></ISWebGrid:WebGridColumn>
As you can see, I've tried all I can think of but none of them helped me.
Problem is, when I create a new item in the grid; the item is created successfully but after the creation; a pop-up screen appears and says a null reference exception is occured in the data binding to the webgrid.
When I remove the column, everything is ok.
And when I don't remove the column, eventhough it says a null ref exception is occured; after a refreshing the screen; I can see the item is created successfully and including the newly created item, every item is bind into the webgrid.
I would love if anybody could diect me into the right direction.
Thanks.
Info: The binding and the creation is by default and no override is included and linqdatasource is used for the data and given as a DataSourceId="dsSomething" in ascx page.
Hello,I apologize for any inconvenience this problem may have caused you.I have made a simple sample that maybe similar with your application scenario.I added WebGrid in WebUserControl page and I bind with Nortwind.mdb (Shippers table).Then I added WebGrid column’s code that you posted in my WebGrid.But unfortunately, I can’t replicate your issue on my end. I attached my sample in order to make you more understand the sample.Would you mind to telling me step-by-step How can I reproduce your issue.Or if you don’t mind, could you attach your simple sample that indicates your issue? So I can analyze your issue.Thank you.Regards,Hans
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