Search

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

Matching Posts

  • Re: ComponentController in ASP.NET MVC 1.0 - Has it been removed?

    I totally agree with Brad. I guess the MVC team slipped in the RenderAction helper for the exceptional cases like MasterPages
    Posted to ASP.NET MVC (Forum) by Dsypher on 11/10/2009
  • Re: ComponentController in ASP.NET MVC 1.0 - Has it been removed?

    [quote user="bradwils"] ComponentController was removed long ago and replaced with RenderAction, which is in MVC Futures right now (and will be part of mainline MVC 2 when we ship the Beta). [/quote] Thanks Brad. If that is the case then I how can I display data in my master page? I dont want to put any data access logic inside my master page. Any suggestions?
    Posted to ASP.NET MVC (Forum) by Dsypher on 11/9/2009
  • ComponentController in ASP.NET MVC 1.0 - Has it been removed?

    Hi, I pretty new to ASP.NET MVC so my apologies if the question sounds lame. I was watching the ASP.NET Storefront video series and Rob uses ComponentControllers to display data in the master page. How do I implement this in the latest release of MVC? I've read about SubContollers in MVC Contrib but I dont know how and if I should use it - I'm totally confused. Bump! Any sort of help would be greatly appreciated. Thanks
    Posted to ASP.NET MVC (Forum) by Dsypher on 11/8/2009
    Filed under: ComponentController asp.net mvc 1.0
  • Re: How to add Text Box and/or Buttons to Datatable column

    Hi Brendan, Are you trying to add texboxes/buttons to your DataTable?? Well, thats not possible. The DataTable is just your Data source - the object that populates your GridView. But, you can add them to the GridView using TemplateFields. For example, <asp:GridView ID="GridView1" Runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundField HeaderText="Product" DataField="ProductName></asp:BoundField> <asp:BoundField
    Posted to Web Forms (Forum) by Dsypher on 8/2/2009
  • Re: How to add Text Box and/or Buttons to Datatable column

    In your CS file just databind your DataTable to the GridView after you have populated the DataTable like this, // 1. Add the columns and rows to your DataTable // 2. Next DataBind to GridView GridView1.DataSource = dt; GridView1.DataBind();
    Posted to Web Forms (Forum) by Dsypher on 8/2/2009
  • Re: I want user just allowed to insert number and , in textbox like 290,320,000

    I use this excellent free control in many of my projects that limits the users input numbers eliminating the need of validation http://www.eworldui.net/CustomControls/NumericBox.aspx
    Posted to Web Forms (Forum) by Dsypher on 8/2/2009
  • Re: Issue with Javascript on Post Back

    Hi, Try to avoid using the word "script" as your key. Try doing it this way: Page.ClientScript.RegisterStartupScript(typeof(Page), "myScript", fnDropdownvisibleenableScript, true); I tried it and it works. If it doesn't work for you, please post your code so we can find out the problem.
    Posted to Web Forms (Forum) by Dsypher on 7/13/2009
  • Re: open a new window from VWD using an URL

    Are you trying to read/write doc files programmatically? If so, then you need Visual Studio Tools for Office - http://msdn.microsoft.com/en-us/vsto/dd162433.aspx
    Posted to Web Forms (Forum) by Dsypher on 7/11/2009
  • Re: Genrate OnMouseOver Event on Image Control

    The ImageButton server control does not have a server-side event for onmouseover but we can add it manually. We have to add it as an attribute before it is rendered like so: protected override void OnPreRender(EventArgs e) { ImageButton1.Attributes.Add("onmouseover", "javascript:setTimeout('__doPostBack(\\'ImageButton1\\',\\'\\')', 0);"); base.OnPreRender(e); } Then in the page load you need to check if the ImageButton caused the post back and do your binding
    Posted to Web Forms (Forum) by Dsypher on 7/11/2009
    Filed under: ImageButton onmouseover event
  • Re: response.redirect & hidden fields

    [quote user="alex2go"] Ok to get at cmd.Value, you must add an attribute of "id=ex" to the cmd hiddenfield [/quote] If you check my code, I had added the ID attribute to the hidden fields. But I guess you didn't notice. [quote user="alex2go"] So for the final piece of the puzzle - how do you bind the response to the browser? - the POST of this data needs to result in the loading of a specific PayPal page for further customer processing.. [/quote] The last few lines
    Posted to Web Forms (Forum) by Dsypher on 7/8/2009
Page 1 of 10 (93 items) 1 2 3 4 5 Next > ... Last ยป
Microsoft Communities