Results 1 to 3 of 3

Thread: passing paramete using Databinder.Eval in Datagrid

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    95

    passing paramete using Databinder.Eval in Datagrid

    hi
    i have a doubt about Databinder.Eval method

    in my application im using the following:
    webform1.aspx
    -------------
    <asp:hyperlink navigateurl=<%#fnxxxx(Databinder.Eval(Container.DataItem,"filedname"))%>..../>

    code behind
    ------------

    fnxxxx (byval param1 as string)
    return "javascript:clientFn(" & & ")"
    end sub

    Client Script
    --------------
    function clientFn(par1)
    {

    . . .

    }


    im passing only one paramer here using DataBinder.Eval(......) method.

    how can i pass the second parameter using the same method?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: passing paramete using Databinder.Eval in Datagrid

    What is the second param you want to pass?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    95

    Re: passing paramete using Databinder.Eval in Datagrid

    Quote Originally Posted by mendhak
    What is the second param you want to pass?
    i want to pass the second parameter as byval yyyy as string using

    <%#fnxxx(Databinder.Eval(Container.DataItem(""),Databinder.Eval(Container.DataItem(""))%>

    but this is not working

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width