hi
i have on my aspx page a select command:
<telerik:GridButtonColumn CommandName="Select" DataTextField="ZipCode"
HeaderText="Zipl Code" Text="Zip Code" UniqueName="ZipCode">
</telerik:GridButtonColumn>
I am trying to pass the value of zip code a session but is empty. Zip code is not a primary key and i can see the zip code display in the grid. How do get the zip code value? thanks
i have on my aspx page a select command:
<telerik:GridButtonColumn CommandName="Select" DataTextField="ZipCode"
HeaderText="Zipl Code" Text="Zip Code" UniqueName="ZipCode">
</telerik:GridButtonColumn>
I am trying to pass the value of zip code a session but is empty. Zip code is not a primary key and i can see the zip code display in the grid. How do get the zip code value? thanks
If e.CommandName = "Select" Then
Dim selectedRow As GridDataItem = DirectCast(e.Item, GridDataItem)
Session("zipcode") = selectedRow("zipcode").Text
End if