Search

You searched for the word(s): userid:625214

Matching Posts

  • Getting GMAP control to refence long/lat in datalist

    Hi, I'm trying to integrate the Google Maps control that I found here , into a datalist of names and addresses. So far, all the examples of using the datalist I've found online involve setting the long/lat in code at runtime. I'm trying to get this control to pull the current record's long and lat and insert them into the "Center and Zoom" function and I'm not quite sure how to do that. I've got a full list of longitudes and latitudes and I can insert them into the
    Posted to Data Presentation Controls (Forum) by sevs on 7/10/2007
    Filed under: Datalist, gmap control
  • Re: Modifying values of a control in a datalist

    I think I might be going crazy since I copied your code into a test page and it works perfectly, but when I try the same code on my page it ends not doing anything. I'll just go ahead and post the entire page's code and maybe someone can figure out what the problems is: <form id= "form1" runat= "server" > <div style= "text-align: center" > <h1> <asp:ScriptManager ID= "ScriptManager1" runat= "server" > </asp:ScriptManager>
    Posted to Data Presentation Controls (Forum) by sevs on 7/5/2007
  • Re: Modifying values of a control in a datalist

    Sure, here's what I've got: 1 Protected Sub DropDownList1_SelectedIndexChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged 2 If DropDownList1.SelectedValue = "Completed" Then 3 Dim dl As DataList = DataList1 4 For Each di As DataListItem In dl.Items 5 Dim btn As Button = CType (di.FindControl( "Button1" ), Button) 6 btn.Visible = False 7 8 Next 9 Dim dl2 As DataList = DataList2 10 For Each di As DataListItem In dl2
    Posted to Data Presentation Controls (Forum) by sevs on 7/5/2007
  • Re: Modifying values of a control in a datalist

    I can't seem to get it to compile with that exact code. I think it might have to read Dim btn1 As Button = CType (di.FindControl( "btn" ), Button) Rather than "Datalist" I tried that and nothing seemed to happen, although I forgot to mention that both datalists are inside AJAX update panels. I tried taking them out of the panels and running the code, however it still wouldn't work.and the datalists just wouldn't appear on screen for some reason.
    Posted to Data Presentation Controls (Forum) by sevs on 7/5/2007
  • Modifying values of a control in a datalist

    Hi, I have a pretty simple query that I'm sort of stumbling over. I've got a page with a Drop Down List and two Datalists that respond to the drop down list. In the datalists are a button just labeled "Button1" and it has a function that is dependent upon what value is in the drop down list. What I'm trying to do is have the button in the data list become visible and invisible depending on the value in the drop down list. I'm a bit confused since I tried using the datalist1
    Posted to Data Presentation Controls (Forum) by sevs on 7/5/2007
    Filed under: button, Controls, Datalist, FindContol gridview datalist
  • Updating a panel with PopupControlExtender and Gridview

    OK, it seems like I have the ability to easily work with popups with the Popup Control Extender in the AJAX Toolbox, however, I'm still having some minor problems with some more simple issues. I'm trying to add a field to this grid control that will pull the primary key of the selected record as a value and update a detailsview which would appear as the popup. Any ideas on what the best way to setup the grid view to have a column with the primary key in it and how best to pass that to the
    Posted to Data Presentation Controls (Forum) by sevs on 7/3/2007
  • Re: One click update in Datalist

    I'm really having problems with how to attach the primary ID of that record to the button or how it would be best to take the key of that selected item and run the code with it.
    Posted to Data Presentation Controls (Forum) by sevs on 6/26/2007
  • Re: Java Pop-up window from GridView Row Selection

    I've been asking about this very thing here and sort of ran into a wall when it came to the reality of opening and closing that popup window. I hope something can be done with AJAX since that's what I'd like to implement.
    Posted to Data Presentation Controls (Forum) by sevs on 6/26/2007
  • One click update in Datalist

    Hi, I'm sort of stuck on a relatively simple problem when working with a Datalist. I have a Data list of some records and one of the fields hidden from the user is a "Status" field. I want to allow the user to be able to click on a button or hyperlink (whichever you guys think will work better) and have that fire off a SQL statement that will relabel that record as "Completed" in the hidden status field. I've got the button/hyperlink showing up obviously, but I'm not
    Posted to Data Presentation Controls (Forum) by sevs on 6/26/2007
    Filed under: sql, button, Datalist
  • Re: Floating panel, with details view appears on demand

    I was thinking about doing that however there's not enough space on the page to put both so I need to have the floating panel if possible. I guess I didn't make myself really clear in my previous post in that, I really have no idea how to implement this sort of thing in floating panels. Not that I have it there and the AJAX functionality won't work, but I'm not sure where to start with this. How do I set the panel to be able to position itself by the mouse or link, over the rest of
    Posted to Data Presentation Controls (Forum) by sevs on 6/25/2007
Page 1 of 3 (24 items) 1 2 3 Next >