Hi,
I have now introduced a new column with hyperlink cell values. The problem is clicking on the hyperlink fires the RowEditTemplate, the page does not navigate away as you would expect it to.
Rob
In addition to setting the AllowUpdateDefault under DisplayLayout, you should be able to specify it on the Band and Column levels as well. Try setting the AllowUpdate on your hyperlink column to "No".
I'm facing the same problem and Sung I tried the solution you posted and did not work for me. So what we did is, we wrote a client side event for the cell click handler for this grid and if the column key is the hyperlink column then we are doing EndEdit of Row Edit Template ( basically to close the template) if the Row Template is already open.And now our hyperlink is working. But this causes a flicker to the user like the row template gets opened & closed.
Waiting for an Efficient Solution !!
When clicking on a link it should navigate regardless. The specification of No for AllowUpdate on the column was to keep the template from opening when clicking on the cell region around the link. I tried it out using 8.1 in a simple sample and did not seem to have any issues. Here is my column definition:
<Columns>
<igtbl:UltraGridColumn BaseColumnName="col0" Key="col0">
</igtbl:UltraGridColumn>
Type="HyperLink">
<Header>
<RowLayoutColumnInfo OriginX="1" />
</Header>
<Footer>
</Footer>
</Columns>
and the data im binding to:
dt.Columns.Add("col0");
dt.Rows.Add("1", @"http://www.google.com");
this.UltraWebGrid1.DataSource = dt;
this.UltraWebGrid1.DataBind();
I tested with both CellClickActionDefault set to Edit and CellSelect and and of course i have UltraWebGrid1.DisplayLayout.AllowUpdateDefault set to RowTemplateOnly.
You should be able to see the differences between yours and mine that may be causing the behavior you mention.
hi,
Somewhat related to this how I can implement similar facilty like following in the UltraWebGrid as of .Net default GridView Control.
<columns>
<asp:HyperLinkField
DataNavigateUrlFields="id,PermissionCount,RoleName"
m={2}"
HeaderText="Role Name" DataTextField="RoleName"
>
<HeaderStyle HorizontalAlign="Center" CssClass="Form_bold"
/>
<HeaderStyle HorizontalAlign="center" />
</asp:HyperLinkField>
Thanks,
Did you ever get an answer to how to do a hyperlinkfield ? I am trying to do the same exact thing.
Irwin
Amol said: hi, Somewhat related to this how I can implement similar facilty like following in the UltraWebGrid as of .Net default GridView Control. <columns> <asp:HyperLinkField DataNavigateUrlFields="id,PermissionCount,RoleName" DataNavigateUrlFormatString="AddRole.aspx?id={0}&pcnt={1}&rn m={2}" HeaderText="Role Name" DataTextField="RoleName" > <HeaderStyle HorizontalAlign="Center" CssClass="Form_bold" /> <ItemStyle HorizontalAlign="left"/> <HeaderStyle HorizontalAlign="center" /> </asp:HyperLinkField> <columns> Thanks,
DataNavigateUrlFormatString="AddRole.aspx?id={0}&pcnt={1}&rn
I see that this post is from 2010 -- and still unanswered. I have the same question. I'm new to the Infragisitics tool set, was hoping to get up an running quickly, but even the simplest things are hard to do and the documentation is immensely frustrating. I've spent hours trying to figure out how to define a hyperlink field in a web grid. Is it possible?