I have an ASP.NET page that updates customer profile information.
After updating and when the user clicks on Update button, i want to display alert message.
Can we customize it to edit the MsgBox title?
Can we edit the default msg that is displaying? If yes, Can anybody provide any samples.
I earlier used customized popup from AjaxTo...
I opened a solution in Visual Studio 2010 RC that I previously created using Visual Studio 2008 and ASP.NET MVC 2.0 RC using the 3.5 framework. When I tested it I received a 404 error. I tried adding the default page as described in this post but got an invalid route error.
Anyone else ran into this?
...
Hi...
I am using datalist control and want to show 5 records per page.
My backend is oracle 9-i.Datalist displays Results of stored proceures.
I dont want to change my stored procedures for that.
can any1 help me by code?...
Pls...
...
Hi there,
I have two domains for example www.male.com and www.female.com which both point to the same website app. In this app I have an HTTP module which checks if the session of the user is still active and if so checks if the user is a male or female.
I want to check from which domain the user entered the website. If the user is a m...
Response.Redirect("Password_ret.aspx?userid="+TextBox1.Text);
sends the data present in the text box to password_ret page
Similarly,
What command should I use for
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
to send the data to the next page. I am using
Response.Redirect("Feedback.aspx?Session_ID=" ...
Hi,
I have an asp.net page which changes passwords in the OU, Where do I set the user which actually runs my code?
In the virtual directory security settings, the application pool user? or the Webconfig? Which one of the configurations actually configures the user which runs the asp.net code?
Thanks.
...
Hi
I have update button and after saving the record to database, I am displaying popup Msg using Javascript as below.
When i don't use Response.Redirect, Popup is working fine.
But when i use Response.Redirect, Popup is not displaying.
Anybody faced the same issue. Please throw some light.
Appreciate your help.
ScriptManager.Registe...
Hello,
I have reading posts all night looking for an answer to my issue and haven't found anything that works for me yet. I am sure there is a simple way to do this but I haven't been able to discover it yet.
Details:
MVC 2 Preview
Asp.net 3.5 sp1 framework
VS 2008 C# web application
Windows Server 2008
IIS 7
I have the application r...
I have updated a website i have made recently, using asp.net. The problem Im now encountering is this. If I send in the request parameters of a page: i.e.
www.something.com/index.aspx?search=vendor, this url leads to a page stating "Command cannot execute". It used to work fine in my old version, and im still using the same iis server an...
Hi,
I have an unmanged COM object, and I would like to call it from ASP.NET 3.5.
Can I just call it like in C# or do I have to write something special in the web.config, or configure the IIS specialy.
Right now I'm getting a stackoverflow exception.
Please help.
...
Hi,
I undertand that the stack size on ASP.NET was decreased to 256K instead of 1MB, how can I get it back to 1MB.
Please help.
Thanks.
...
Hi All,
I am using jquery cycle to show images as slides. How to scroll two images at a time without using any button.
Code:
jQuery(document).ready(function($) {
$('#album').cycle({
fx: 'scrollHorz',
speed: 1000,
timeout: 0, continuous: true,
pause:...
Hi, I am creating a dynamic array, and getting an error:
Error message: Cannot convert type 'string' to 'string[]'
The code is:
arrTeamMembers += tb.Text;
tb.Text contains values such as "Michael | Steve | Thomas | Jeff | Susan | Helen |"
I am trying to pass the values from tb.Text to arrTeamMembers. I am NOT trying to split the te...
I am having issues trying to get the syntax correct for my C# 2008 asp.net code.
I need to get a return value (Select @@Identity) from my stored procedure
My C# code is:
SqlConnection conn = new SqlConnection(strConn);
string sql = "usp_ClientProfile_Header";
SqlCommand cmdHeader = new SqlCommand(sql, conn);
...
I want to set the tabIndex property for a row of textbox(s) that are created at run time (dynamically)
My formula is
txtFirstName.TabIndex = i * 10 + 1;
txtLastName.TabIndex = i * 10 + 2;
txtEMail.TabIndex = i * 10 + 3;
txtPhone.TabIndex = i * 10 + 4;
When I try to compile this, I get an error
Cannot implicitly convert type 'int' to ...
I have an ASP.NET 3.5 page which has multiple span elements with ID containing lblError. How can I get all the span elements whose IDs contain lblError?
...
I am trying to implement URL Routing for a non MVC application. Here's my original URL:
http://mydomain.com/ProcessStuff.aspx?id=1029019
to
http://mydomain.com/Process-This-Stuff/1029019
I have difficulty when the page has query strings in the URL.
This is the route handler I have so far:
public class CustomRouteHandler : IRoute...
In an ASP.NET 3.5 application running on IIS, how do I force a "deauthentication" of all currently logged-in and authenticated users?
iisreset didn't seem to do the trick!
...
My application is hosted on IIS 7.0. There is a scenario where end user save the image (from my application) into his/her machine. Now my question is can we make a default folder in end user machine so that every time when user save the image , it will automatically save on the default folder location that we have created from our applic...
I am checking for values in a textbox to trigger a conditional statement, but am getting error messages.
if (txtAge.Text = "49") || (txtAge.Text = "59")
{
txtNote.Text = "A valid picture ID must be submitted";
}
The error message I am getting is Cannot implicitly convert type 'string' to 'bool'
How can I resolve this?
...