Hi,
Iam using Infragistics 13.1.
GridRecordItem must be used instead of UltraGridCell in 13.1.
Please let me know how to set AllowEditing for GridRecordItem.
Earlier code - UltraGridCell cellRename = e.Row.Cells.FromKey(sRename);
cellRename.AllowEditing = AllowEditing.Yes;
Expecting your response asap. Its urgent.
Thanks in advance.
Hello Jeevtiha,
I am glad this helped. If you have any further questions on the issue, please let me know.
Your suggestion really helped.
Thanks for the quick reply. Appreciate!
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Jeevitha,
When using the LinkButton control as in my example you should be able to call the function as a parameter in the .Add method as follows:
LinkButton link = new LinkButton();link.Text = "Link to Google";link.Attributes.Add("href", GetLink());
container.Controls.Add(link);
So if the GetLink() function returns some string as "http://google.com" then the control will be rendered with the following html:
<a href="http://google.com">Link to Google</a>
Please try it on your side and let me know if it works for your scenario.
Hi Hristo,
Need your suggestion here.
In Ultrawebgrid's InitializeRow, a function was mapped to the Ultragridcell's TargetUrl property in earlier version of Infragistics(7.3).
Below is the code snippet.
UltraGridCell cellCopy = e.Row.Cells.FromKey(sCopy);
cellCopy.TargetURL = Controller.BuildCopyTargetURL(cellOwner.Value.ToString(),cellReadOnly.Value.ToString(),cellBOId.Value.ToString(),cellName.Value.ToString(),cellDescription.Value.ToString(),Page is System.Web.UI.Page,Utilities.GetLocale(Request), Server);
Now that there is no TargetUrl property in webdatagrid, Would be really helpful if you could let me know how i can achieve this in Webdatagrid's InitializeRow.
Thanks!