Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNNLabelEdit in a DataGridDNNLabelEdit in a DataGrid
Previous
 
Next
New Post
4/19/2007 1:33 AM
 

Hi

I am trying to add the label edit (from webcontrls) control as a datagrid column. I am able to edit the text but once I click outside it does not retain the change but reverts back to the old text.

Has anyone had success with such a scenario?

thx

 
New Post
4/19/2007 9:32 AM
 

Please review this sample on the http://webcontrols.dotnetnuke.com site.


 
New Post
4/19/2007 9:44 AM
 

Hi Jon

I did try it with CallbackType=ProcessPage but that did not fix it. I tried another label edit control outside the datagrid on the same page and it seems to work fine by retaining the new text typed in. I've compared the html (viewsource in the browser) that gets generated between the one that is in the page directly & the one inside the datagrid and I don't see any difference in them (except the generated conrol id). For further clarity on my problem here's how I use it in the datagrid.

 <asp:TemplateColumn>
<ItemTemplate>
<asp:Label ID=lCommentDummy CssClass=Normal Runat=server></asp:Label>
<dnn:DNNLabelEdit id="dleComment" runat="server" enableviewstate="False" MouseOverCssClass="LabelEditOverClass" LabelEditCssClass="LabelEditTextClass" EditEnabled="True" CallbackType=ProcessPage><%# DataBinder.Eval(Container.DataItem, "Comment") %></dnn:DNNLabelEdit>
</ItemTemplate>
</asp:TemplateColumn>

What am I missing?

thx

 
New Post
4/22/2007 10:15 PM
 

Could I ask you to download the sample I provide on the webcontrols.dotnetnuke.com site and compare that to your sample?


 
New Post
4/23/2007 8:59 AM
 

Hi Jon

After writing my earlier post I came across www.dotnetnuke.com/Community/Forums/tabid/795/forumid/76/threadid/70102/scope/posts/Default.aspx, which told me that its just not possible to identify individual ids for the control in each row. I am not sure if this has been fixed since then, so I basically reverted back to the native datagrid inline editing feature for my edits, but would have loved to use your control instead as it would have been a perfect fit for my requirement (not all columns in my datagrid need to be editable).

thx

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNNLabelEdit in a DataGridDNNLabelEdit in a DataGrid


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out