On a list page, clicking on one of the items brings up the details in a modal popup window which will have its own functionality (like validation, updating etc). What's the best practice to implement this (not looking for a hack). I see two options here:
Hide the details markup until a list item is clicked at which time, do a ajax requ...
I have a CheckBoxList in my page, with the DataTextField and DataValueField attributes set, is there an attribute that I can use to specify a property that indicates if it should be checked?
I'm hoping to just set the datasource, and not have to have any code behind to set the checked property. Possible?
...
I created a simple page using the code provided by this page (the first sample):
http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/
But I can't seem to get it to work, I can redirect to the provider but when the provider redirects back to my page, I get error 500, "The request was rejected by the ...
Hello.
I'm developing an ASP.NET WebForm application with Visual Studio 2008 SP1 and C#.
I've defined the following listener on Web.Config:
<system.diagnostics>
<trace>
<listeners>
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="D:\Logs\logWeb.txt" />
</listeners...
I need some help modifying the Webform Module so that it can work for my project.
I use Webform right now for single page, basic forms, and it works wonderfully.
What I need to be able to take multiple webforms and string them together based on some initial selections a user makes.
Let me give an example.
The user is sent to a "General ...
Disclaimer: This is a personal project that I'm doing for fun. I'm not looking to use existing libraries since it would take some of the joy out of learning more about wheels.
That being said, I'm working on a web spider and I've come to the problem of how to represent HTML form elements with a single object.
What I want to do is have ...
I've been handed a huge Webforms project which I'm trying to understand, and I have a problem where an Update Panel is duplicating a lot of its content. The aspx code for the panel is huge, hundreds of lines long, but it basically looks like this simple example, only with lots more asp:TextBox and asp:ListBox.
<asp:UpdatePanel runat="se...
Hi All,
I would like to hear what web UI testing tools you have found to be useful and not so useful.
I am looking for a commercial tool (for the company) and a non commercial tool (for my projects)
Thanks
Ian
...
I'm working on a script where all I want it to do (right now) is redirect the user based on which button they press. Eventually it will take form input and incorporate that into the redirect, but right now I'm just trying to get the buttons to send the user off to the appropriate site. However, My redirects aren't working.
<html>
<hea...
Hi,
My first post so apologies in advance for being a noob!
I want to write a script which will click a button on an external website (one which belongs to someone else). The button is defined as follows:
<input class="btnAdd" type="image" src="/superstore/i/b/btnAdd.gif"
id="i61109534-a" onclick="return a(61109534);">
Basical...
Trying to troubleshoot a bug on this little legacy app and have run into a problem.
The left column contains a gridview with the master records, when a row is selected the main area of the page populates with the details for that row including a ckeditor instance to capture notes and a save button calling a click event which saves the d...
What would be the best design layout for a web form with more than 100 fields? Right now I have grouped the fields to tabs.I am having tough time in validating the fields.I should either validate it on 'Submit' of the form or on tab change.Both has its own drawbacks. If I validate on tab change then user cannot view other tabs till they ...
I was wondering about some best practices for data binding in web forms.
For example we have a control:
public partial class MyUserControl : UserControl
{
public override void DataBind()
{
//#1
base.DataBind();
//#2
}
}
If we wanted that control to bind its data automatically we would do something ...
I have an ASP.NET application, and am trying to output cache a certain page, however on every request, the debugger is still hitting the OnLoad method and I get a 200 response back.
I have placed the output cache directive on a page like so:
<%@ OutputCache Duration="60" VaryByParam="None" %>
And ensured I have the OutputCache module...
There are a lot of questions similar to this but none dealing with webforms and c# that I have found.
I have Linq-to-SQL, a Vote table where I want to record the vote records(Voteup/down/time/ipaddress/user etc)
Is this the way to do it or is there a better way:
Make updown imgs, hide an id of the object being voted on somewhere in th...
From what I understand MVC has more SEO friendly urls. Or at least it is easier to achieve.
Is the reason for this that you can make fake folders that are actually arguments like:
question/37/WhatIsSEO
Where the equivilent Webforms would be question.aspx?id=37&title=WhatIsSEO
Where the title doesn't actually do anything, it is just ...
hi,
when asp.net output a page ,I want to add some same parameters for all links() in this page
How I can do it ?
somesite.com/page.aspx => somesite.com/page.aspx?same=value
somesite.com/?anyp=hevalue => somesite.com/?anyp=hevalue&same=value
auto add same=value
...
Hello all,
So there are a few paragraphs separated by line feeds "\r\n" in a textarea, say
Paragraph1 "\r\n"
Paragraph2 "\r\n"
Paragraph3 "\r\n"
what i want to achieve is to process each paragraph into tag. How do you do that? (Need a server side solution)
so it looks like
<p> Paragraph 1 </p>
<p> Paragraph 2 </p>
<p> Paragraph 3...
We're gonna build a line of business app, and do it using asp.net membership for security.
What is your recommendation on building application that should be easy to maintain and as hopefully future proof? The idea being to have a really complex and customized user experience and hopefully basing it on existing third party components to...
I have an ASP.NET page with code-behind in VB.NET. On the ASPX page I have a Repeater with an asp:ImageButton inside the repeater and I want to catch the clicks on the button. As far as I read I have to use FindControl and then handle the copy of the original control:
Codebehind:
Dim imagebutton1 As ImageButton = repeater.FindContro...