You can add an event handler to InitializeComponent():
  private void InitializeComponent()
{ 
 this.ddlName.SelectedIndexChanged += new EventHandler(
this.Country_SelectedIndexChanged);
this.Load += new System.EventHandler(this.Page_Load); //This is added by 
default
}
 Also, GetRateCalculated() will have to be similar to:
 {Access Modifier} {Return Type} GetRateCalculated(int x, int y)
{
 //Code here
}
 Ryan

 On 7/11/05, Arindam <[EMAIL PROTECTED]> wrote: 
> 
> 
> Hi All
> 
> In every row of Repeater i have a Dropdownlist,
> Auto postback is true,
> I want the following function to be fiered 
> while selected index changed, and i want to pass the value of dropdown as 
> parameter.
> OnSelectedIndexChanged="GetRateCalculated(5,6)" 
> 
> Pls........ 
> 
> Waiting for quick reply.
> 
> Thnaks 
> Arindam
> 
> 
> 
> Arindam Chakraborty
> Software Developer,
> Mumbai,
> India
> 
> 
> 
> 
> 
> ---------------------------------
> Too much spam in your inbox? Yahoo! Mail gives you the best spam 
> protection for FREE!
> http://in.mail.yahoo.com
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> SPONSORED LINKS 
>   Programming 
> languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+computer+programming+language&c=6&s=198&.sig=hjFSMmldhVc3zrT5SqL9xQ>
>  C 
> programming 
> language<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+computer+programming+language&c=6&s=198&.sig=td85HQ93XfErfw7wfLZ86A>
>  Computer 
> programming 
> languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+computer+programming+language&c=6&s=198&.sig=BMtgOo7dpsC1xzn1YgpBPg>
>   Java 
> programming 
> language<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+computer+programming+language&c=6&s=198&.sig=8IuywkhSLTtpB6_iFiJoCQ>
>  C 
> programming 
> language<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+computer+programming+language&c=6&s=198&.sig=jpmDiGf8qD8AqZNqFwDO7w>
>  History 
> of computer programming 
> language<http://groups.yahoo.com/gads?t=ms&k=History+of+computer+programming+language&w1=Programming+languages&w2=C+programming+language&w3=Computer+programming+languages&w4=Java+programming+language&w5=C+++programming+language&w6=History+of+computer+programming+language&c=6&s=198&.sig=9slR1_vZJlvyOINA4iLkow>
>  
>  ------------------------------
> YAHOO! GROUPS LINKS 
> 
> 
>    - Visit your group 
> "AspNetAnyQuestionIsOk<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>" 
>    on the web.
>     - To unsubscribe from this group, send an email to:
>    [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>     - Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
>    Service <http://docs.yahoo.com/info/terms/>. 
> 
> 
>  ------------------------------
> 



-- 
Thank you,
Ryan Olshan
<asp:WebProgrammer />
TeraNet Systems
http://www.teranetsystems.com


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to