I have a <asp:TextBox with TextMode="Password". How can I read the value that the user entered, using the codebehind?
I want to create a new user with code like this, but PasswordTextBox.Text is always an empty string.
Membership.CreateUser(Username, PasswordTextBox.Text)
...
I am trying to debug a project, suddenly I'm running into an issue where enumerating any object collections results in a timeout if I try to view it.
If I run the program normally I have no issues. If I try to view any collection, such as a list, I get a timeout error and the whole thing bombs out.
I thought something might be going on...
SQL Tables
Listing
ID, Title.....
ListingType
ID, Name
ListingMatrix
ListingID, ListingTypeID
Basically a listing can be more than 1 type and I want that to be able to be shown using the ListingMatrix table. However, I'm having a lot of issues populating the checkboxlist because I have it being sorted by Title to keep it user frie...
What I'm trying to do is on page load display either of two controls based on how many items are in a datalist. For instance, if the datalist only contains 1 item I want it to display
Literal1.Visible = true;
If there is more than 1 item in the datalist, show
LiteralMulti.Visible = true;
Anyone know how to do this?
...
Hello,
Was wondering if someone could point me in the right direction, i need to be able to page through content using something similar to Coda-Slider but with the data being loaded with ajax?
Thanks
Phil
...
Is it possible to bind a rdlc report to a business object (.NET 4/VS 2010)
In my report I have TextBoxes called Name and Email.
Say I have an object Person with properties Name and Email.
Can I bind the .rdlc with an object Person at runtime?
...
I am building a simple performance logger that hooks in to Application_EndRequest / Application_BeginRequest
I would like to send my logger the name of the action and controller as some sort of key.
How can I access this information? (Don't mind if I have to intercept it earlier on and keep it around in the context)
...
I think theres something really simple I'm missing so I apologize in advance. I'm trying to test an interface with Nunit. The interface is implemented by a class derived from a base class and I'm using Castle Windsor for IOC. I simply dont know where to assign the interface in the derived test class.
Here is the base test class
[T...
Hi,
I'm having a wired problem with Radgrid.. Im using a Radgrid to display some results where the user can edit/update/delete them. I'm using a single SQL Server 2000 table to fetch the results... Not sure why the events are not firing in radgrid. But I am able to do it successfully using the Gridview control...
Im using .NET framewo...
Hi, I'm using an asp:LinkButton. The text underlines upon hovering over it. However I want it to always have an underline. Can anyone tell me how to achieve this?
Thanks!
...
I've had the same problem a couple of times with different ASPX pages after renaming them and I am surprised that I can't find someone else with the same problem on stackoverflow.
When I run my ASP.NET C# project, the debugger gives me a message like this one.
Error 5 The name 'txtTitle' does not exist in the current context
It s...
The error i get seems to be centered around jquery finding what it's in (window,document, etc.). Right now i'm just trying to implement the jQuery datepicker. the project has a master page, where i placed my script references.
<head runat="server">
<title></title>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<lin...
I recently developed a Java Application for a client with MySQL database. Now he wants to have ASP.NET website connected with the Java Application.
I'm thinking of placing the database on a local server which would support both the desktop application and the website.
What i want to know is, is it the good way to handle these kind of s...
hello everyone, i need to know what control in asp .net 2.0 to use to get this layout:
i need to display 8 videos at a time using 2 rows with 4 columns, but the control should also have paging (to display 8 items per page).
i've thought of using a formview but the paging for formview is per one article content / datarow only.
i'm also...
Hi,
I'm starting a new ASP.NET MVC 2 project, but unfortunately I'm a noob dev. Can you recommend a template I can use for my web site? It would be nice if the CSS supports stuff like 3 columns, 3 rows, with up, left, down and right parts being fixed size and the center auto sizing. Actually a clean CSS template would do too.
TIA
...
Hello Friends,
I am showing Custom Error in my page.. if somehting happend wrong. but if the same error occured in my subview master page I am not able to show the Custom error page on Entire page its showing me that Error page under subview master page. Please I am attching the Screen shot.
Can any body help me out how to show the Err...
Can I call a webservice from a Controller Action in ASP.Net MVC?
public ActionResult Index()
{
PersonObject person = new Person("Sam");
//Call a webservice which is located in the same app under /Services/General.asmx/WebMethod and pass it person
}
Basically I want to do this from my Action...
$.ajax({
...
hi all,
i am having a boundfield column and in that column if i entered a string(without spaces) of length 15, there is no problem. But if the string is more than 15, the text is not wrapped. I gave the command column.ItemStyle.Wrap=true; But its not working. I have fixed the width of the column.
How to wrap the text in the boundfield i...
There's this line of code inside of some repeater's ItemDataBound event that includes e.Item.ItemIndex..Now I get it that ItemIndex is the index of the item in the list..
What's "e" and "Item" here ? Actually I do have an idea. Just want to be more clear. Could someone please tell me in simple terms ? Thanks.
...
Hello
I've developed a chat application using WCF/ASp.net. I want to asynchronously transfer a file from one chat user to another chat user. What is best approach for this?
here are my insights/doubts
Do i need a central server between
two users to assist the file
transfer?
Can i create a direct channel
without a central server?
Do i...