Hi Vikas,

Register ItemDataBound in Page Init Event..

override protected void OnInit(EventArgs e)
{
   base.OnInit(e);
   rptData.ItemDataBound +=
       new RepeaterItemEventHandler(rptchk_ItemDataBound);
}
LinkButton in Repeater:

  <asp:LinkButton ID="btnShow" Runat="server"
                         CssClass="tbhd" CommandName="Show"
                         CommandArgument='<%# Eval("RecordID")
                         %>'>Show</asp:LinkButton>

Regards
Vignesh.R.Joshi

On Wed, Mar 18, 2009 at 10:11 AM, vikas arora <[email protected]>wrote:

> linkbutton values are retrieved from the database
>
> & i need to show that value on the next page
>
> i m using CommandName & CommandArgument properties
>
> but it doesn't work.
>
>  On Tue, Mar 17, 2009 at 10:10 PM, Cerebrus <[email protected]> wrote:
>
>>
>> What is a LinkButton's value ? There is no such property, IIRC.
>>
>> On Mar 17, 11:37 am, vikas arora <[email protected]> wrote:
>> > Hi everyone
>> >
>> > I have a Reapeter control
>> >
>> > It Has one linkbutton,one label & one imagebutton
>> >
>> > i need to get the the linkbutton value when i click on that
>> >
>> > thanx
>>
>
>

Reply via email to