I noticed that MVC lets you pass in LINQ to SQL objects to its views and it will autogenerate Create, Update and View Pages based on the LINQtoSQL object.
Is there anything for webforms that lets you do this kind of thing? (In would be nice if it had validators...)
...
i have a radiobutton built throught my code. this is the code for that.
dim 1 as intereger = 0
Dim rd As New RadioButton
rd.ID = "rd_" & i
rd.GroupName = "rd_g"
TD.Controls.Add(rd)
i = i+1
the reason i gave groupname is so that when i select the radiobutton only one is select...
Hi.
I have a HAML page that lists some links to delete "things" that looks like this
%div
%a.form_submit Delete Thing 1
%form{:href=>"#", :id=>'comment_1', :method=>'post', :action=>'/thing/delete'}
%input{:type=>'hidden', :name=>'thingid', :value=>'1'}
%input{:type=>'submit', style='display:none'}
%div
%a.form_s...
Hi ,when i try to databind the '<%#Eval("EntryID") %>' to the ImageButton's postbackurl as
<asp:ImageButton ID="ibtnEdit" runat="server" CommandName="Edit" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"SystemEmailID")%>'
ImageUrl="~/Images/edit-list.gif" PostBackUrl="~/Edit_SyatemEmails.aspx?blogentry=edit&id=<%#DataBinder...
Hi Guys,
I am developing a multi-lingual website. I am determining the requested language via a querystring variable eg: http://mydomain.com/default.aspx?lang=en
I am using two <asp:LoginStatus /> controls in my masterpage. My web.config file is set up like this for forms authentication.
<authentication mode="Forms">
<forms loginUr...
I am creating a form designer. It will generate PHP code which will produce an HTML form. Users will fill in fields and the PHP will store user input in a MySql database (and, of course, they can use the designer to generate forms which query the database).
I am using Borland C++ Builder (very similar to Delphi & and you can get the sa...
I have a a gridview with a dynamic number of columns and rows. In each of the gridiview cells, a textbox get's added dynamicaly. I need users to be able to tab through these textboxes, but I can't get it to work.
I set the tabindex of the the textbox when it is created in the code behind, however when I try and tab in the page it doesn'...
We are going to develop content Management System in ASP.net.Please suggest us what is the good design pattern do we need to follow in order to have good design.
...
Well The title might be a lil confusing, what I am currently doing is creating an aspx form dynamically and saving its data by using Server.Transfer("PrssPage.aspx").
On ProcessPage.aspx I am using the Previous Page property to save the data entered by the user using the dynamically created form.
Each Dynamic Form is provided an ID for...
We have an ASP.NET 2.0 WebForms app that uses MS Ajax 1.0. It's working fine on all our environments (dev, test, IE6 VMs etc.). However, at the customer site the client side validation is not happening.
We're currently trying to eliminate all the various factors and along the way we asked them to get their page source and send it to us,...
I'm looking for a good open source web editor that will take xsd (or some other standard XML) and from that generate web forms that will enable the end user to generate standard xml (without knowing anything about xml obliviously). I took a look at kupu, but there doesn't seem to be much documentation and the site appears to no longer ex...
How to make multiple forms with shared fields without using javascript?
<input type=text name=username />
<form action="/users">
... some fields ...
</form>
<form action="/admins">
... some another fields ...
</form>
...
How to make multiple forms with shared fields?
<input type=text name=username />
<form action="/users">
... some fields ...
</form>
<form action="/admins">
... some another fields ...
</form>
...
Hi everyone,
I want to be able to re-order the columns I have in a GridView.
The GridView is populated from a DataTable which is dynamically generated in a seperate class and returned to the aspx code behind page.
Is this possible?
Thanks in advance
...
I am looking for a tool to give me a byte count of ViewState after each postback (full or partial) to make sure that I'm not keeping any controls' states around unnecessarily. Is there a tool out there?
...
Hi all,
I'm having trouble coming up with a solution for the following problem and i was wondering if someone here would help me out.
I need to pull a list of supplies from a db table and list them along with two textboxes (one for quantity, and another for manufacturer)
so the list would look something like this.
checkbox for supply...
I've noticed that the MS ajax framework touches the action of the default form during Sys.Application.initialize, appending location.hash to it. This is interfering with other code in my app that expects different behaviour.
What does the framework do with that? It refers to the values it puts on the hash as 'state', but how do I find ...
To prevent duplicate requests (i.e. pressing F5 right after clicking a command button), I've setup my page base class to ignore the request if it's detected as a duplicate.
When I say 'ignore' I mean Response.End()
Now I thought I've seen this work before, where there's an issue, I just Response.End() and the users page just does not...
Similar to Ubiquitous way to get the root directory an application is running in via C#, but that question seems to be related to Win Forms. How would the same be done for Web Forms?
I was using...
HttpContext.Current.Server.MapPath("~")
This works great for handling HTTP requests but seems not to work if a scheduler like Quartz.NET ...
Hello ...
I´d like to know what is the best option to develope a Auction site like Ebay with ASP .NET 4.0:
MVC 2.0
WebForms
I only worked with WebForms, but I have time to learn MVC if is the best option...
What you think?
Thanks
...