Search

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

Matching Posts

  • Re: Gridview / Formview Master-Detail Paging Issue

    I'm having the exact same issue. Could you provide an example of the solution? I don't really follow. In my current implementation, I am removing the CommandField and making the entire row selectable. The bold is where the code fails when you start paging. What should I change that to? 1 public static void GridViewRowHighLightSelect(GridView a_Gridview, GridViewRowEventArgs e) 2 { 3 if (e.Row.RowType == DataControlRowType.DataRow) 4 { 5 DataRowView dr = (DataRowView)e.Row.DataItem; 6 7 SetupRowMouseOverHighlight
    Posted to Data Presentation Controls (Forum) by joewoo on 9/18/2007
  • FormView Update Could not find control w/ ControlParameter

    Hey all, I'm having trouble using a FormView to update my table using a SqlDataSource. I get this error: Could not find control 'update_chartName' in ControlParameter 'ChartDesc'. I think the issue is that the control ID's don't show up correctly when using EditItemTemplate. What can I do so that the ControlParameter reads the control's value correctly? Thanks! Here's my markup: 1 < form id= "form1" runat= "server" > 2 < div > 19
    Posted to Data Presentation Controls (Forum) by joewoo on 9/17/2007
    Filed under: sqldataSource, controlparameter, databinding, formview
  • Re: Creating a Handler to Stream Excel File

    I think I got an idea of how to pass a GridView over. ExporttoExcel { //GridView stuff up here string guid = System.Guid.NewGuid().ToString(); Session[guid] = gv; //Navigate to "foo.ashx?guid=" + guid } //Process Handler public void ProcessRequest (HttpContext context) { GridView gv = (GridView) Session[context.Request.Params["guid"]]; //Stream out gv as Excel. } I haven't actually tested this out. But I think it might work.
    Posted to Getting Started (Forum) by joewoo on 9/14/2007
  • Re: Creating a Handler to Stream Excel File

    Thanks for the response! Would it be possible to access the public properties on the referring page (i.e. something like Page.PreviousPage)?
    Posted to Getting Started (Forum) by joewoo on 9/14/2007
  • Creating a Handler to Stream Excel File

    Hello, I've never used handlers before. My goal is to create a handler that will be passed a GridView and stream that GridView out as an Excel file. I already have code to export the GridView to an Excel file, but it's currently sitting in a base class. I would like to abstract that out into a handler. How would I go about doing this? Here's an example of the workflow: User navigates to .aspx page with a GridView. User clicks LinkButton to export that GridView as an Excel spreadsheet
    Posted to Getting Started (Forum) by joewoo on 9/14/2007
    Filed under: handler, .ashx
  • Re: looking for a good captcha control

    Another way around that is to have a hidden textbox and any bot that submit information into that is automatically rejected since the invisible textbox shouldn't be filled by any normal users.
    Posted to Getting Started (Forum) by joewoo on 9/12/2007
  • Re: dynamically add controls

    That's because you're instantiating a new literal every single time you loop through. With your first example, you are only creating one literal.
    Posted to Getting Started (Forum) by joewoo on 9/12/2007
  • Re: CollapsiblePanelExtender issue

    I figured it out now. I just had to play around with the height properties and css styles more. This thread helped a bunch!
    Posted to ASP.NET AJAX Control Toolkit (Forum) by joewoo on 9/12/2007
  • Re: CollapsiblePanelExtender issue

    I tried the solutions posted here but it still isn't work for me: 1 <%@ Control Language= "C#" AutoEventWireup= "true" CodeFile= "Panel.ascx.cs" Inherits= "Controls_Panel" %> 2 <%@ Register Assembly= "AjaxControlToolkit" Namespace= "AjaxControlToolkit" TagPrefix= "cc1" %> 3 "javascript" > 4 function changeText(id) 5 { 6 id = id.replace(/\$/g, "_" ); 7 var text = document.getElementById(id
    Posted to ASP.NET AJAX Control Toolkit (Forum) by joewoo on 9/12/2007
  • Re: Writing a string

    Just curious, does anyone have any idea what the performance difference (if any) on String.Format() vs. "blah" + string x + "blah"?
    Posted to Getting Started (Forum) by joewoo on 9/10/2007
Page 1 of 5 (48 items) 1 2 3 4 5 Next >