or
I have a grid that has a GridButtonColumn in it. I have a command name set and call the command name on the grid_itemCommand. I have a hidden field called PKEY that I need to get the value of when the button on that row it clicked. How can I get the value of that hidden field? Right now all I get is , but if I set the visibility to True I get the value.
<telerik:RadMaskedTextBox ID="txtPhone" runat="server" Mask="(###) ###-####" TabIndex="29" Width="175px" meta:resourcekey="txtPhoneResource1" ViewStateMode="Enabled" DisplayMask="(###) ###-####" LabelWidth="70px" Rows="1"></telerik:RadMaskedTextBox> <asp:RegularExpressionValidator ID="txtPhoneRegularExpressionValidator" runat="server" ErrorMessage="Format is (###) ###-####" ControlToValidate="txtPhone" ValidationExpression="\(\d{3}\)\s\d{3}-\d{4}" SetFocusOnError="True"></asp:RegularExpressionValidator>
<table> <tr><td>#=Attributes.DOB#</td></tr></table>var dobValue = string.Empty;item.Attributes.Add("DOB", dobValue);