Search

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

Matching Posts

  • Re: action attribute in form is ignored

    don't expect asp.net to be an upgrade of asp. It's very confusing (at first) if you come from different background. The runat=server attribute converts/parses whatever tag inside to its "proper" way of doing it in asp including a lot of auto generated code specially if you have settings turne on such as enableViewstate. Looks like html but when things runs at the server, it's not. This happens with the <asp:foo...> or <yourOwnTag:bar > type of thing.
    Posted to Web Forms (Forum) by jleviaguirre on 10/8/2009
  • Re: action attribute in form is ignored

    try method="get" instead.
    Posted to Web Forms (Forum) by jleviaguirre on 10/7/2009
  • Re: action attribute in form is ignored

    OK. Thanks. Now, how do I recover my form values from the action="myPage.aspx" in my form?
    Posted to Web Forms (Forum) by jleviaguirre on 11/24/2008
  • action attribute in form is ignored

    Why when I put this in myForm.aspx <form id="form1" runat="server" action="myPage.aspx" myAttribute="yes" > <input name="a" value="b" /> <button type="submit>ok</submit> </form> it parses to: <form name="form1" method="post" action="Form.aspx" id="form1" myAttribute="yes"> <input name="a" value="b" /> <button type="submit>ok<
    Posted to Web Forms (Forum) by jleviaguirre on 11/24/2008
    Filed under: form action attribute wrong asp bad useless
  • Re: add rows in a table on demand.

    No, did not work. All I am trying to do is to create a row on demand when a user clicks a button. Of course, this row will have other components (inputs, dropdowns, etc). Why something that can be done quicker in "classical" asp is more complicated and hence, takes longer in asp.net? I like C#, I like .NET but hey, asp.net is something else
    Posted to Web Forms (Forum) by jleviaguirre on 11/14/2008
  • Re: add rows in a table on demand.

    there is a button that will create rows. The user clicks the button, a new row is created.
    Posted to Web Forms (Forum) by jleviaguirre on 11/14/2008
  • Re: add rows in a table on demand.

    it is a server side control. Here is the rest of the code that exists inside a form: < asp:Button ID= "Button1" runat= "server" OnClick= "Button1_Click" PostBackUrl= "~/Default.aspx" Text= "Button" /> < asp:Table ID= "Table1" runat= "server" BackColor= "#FFFFC0" BorderStyle= "Solid" > < asp:TableRow runat= "server" > < asp:TableCell runat= "server" ></ asp:TableCell
    Posted to Web Forms (Forum) by jleviaguirre on 11/14/2008
  • add rows in a table on demand.

    I pasted a table in design mode as a place holder. I want to create rows on demand when a user clicks a button but all I see is one row. WHY? protected void Button1_Click( object sender, EventArgs e) { DropDownList ddl = DropDownList1; TableRow tr = new TableRow(); TableCell tc = new TableCell(); Label l = new Label(); l.Text = ddl.SelectedValue; tc.Controls.Add(l); tr.Cells.Add(tc); Table1.Rows.Add(tr); }
    Posted to Web Forms (Forum) by jleviaguirre on 11/13/2008
  • dropdown items will not update after formview items are deleted or added. WHY?

    Hey! With no code behind at all, ASP.NET is controlling me. I am sure is a setting or something. I am trying to drive a formview from a dropdown. Everything works fine except that the items in the dropdown does not refresh after adding or deleting items from the formview. "C#" AutoEventWireup= "true" CodeBehind= "Default.aspx.cs" Inherits= "TGAD._Default" %> <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx
    Posted to Data Presentation Controls (Forum) by jleviaguirre on 9/2/2008
    Filed under: dropdownn databinded formview
  • dropdown items will not update after formview items are deleted or added. WHY?

    Hey! With no code behind at all, ASP.NET is controlling me. I am sure is a setting or something. I am trying to drive a formview by using a dropdown. Everything works fine except that the items in the dropdown does not refresh after adding or deleting items in the formview. "C#" AutoEventWireup= "true" CodeBehind= "Default.aspx.cs" Inherits= "TGAD._Default" %> <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx
    Posted to Data Presentation Controls (Forum) by jleviaguirre on 9/2/2008
    Filed under: dropdownn databinded formview
Page 1 of 9 (81 items) 1 2 3 4 5 Next > ... Last »