hi . i am using rating in listview. and i give to rating custom cId attribute. but i cant reach it now.
rating
Eval("CId") is not null it has a value.
rate event
rc.Attributes["cId"] comes null every time.
What is my mistake here.
Thanks.
rating
<ItemTemplate> <div class="rlvI"><telerik:RadRating ID="rCevap" runat="server" Orientation="Vertical" SelectionMode="Continuous" IsDirectionReversed="true" Precision="Exact" AutoPostBack="true" OnRate="rCevap_Rate" cId='<%# Eval("CId") %>' ViewStateMode="Disabled" EnableViewState="false" Visible='<%# Eval("CId")==null?false:true %>' > </telerik:RadRating> </div> </ItemTemplate>Eval("CId") is not null it has a value.
rate event
protected void rCevap_Rate(object sender, EventArgs e) { RadRating rc = (sender as RadRating); int cId = Convert.ToInt32(rc.Attributes["cId"]);...}rc.Attributes["cId"] comes null every time.
What is my mistake here.
Thanks.