asp.net

i couldnot select Combo box value

Hello Sir, I have Two Combobox where second one is depend upon first one. Means when the selectedindexchanged event of First Combobox fires then the second Combobox will be enabled. After Event Apply The second Combobox is loaded but i couldnot select the ComboBox Value How will i select the value?? i used Dave express in c# Than...

how to create event handler for dynamic drop down list in c# .net

I have created a dynamic grid view using Itemplate .now i have also created a dynamic drop down list in the grid . how to create a event handler for on selectedindexchange . i created a slectedindexchange event but it didnt work .the control never passes to the event ? what to do create a event handler public class DynamicGridViewTex...

ASP.NET pass a javascript value in server side

Hi how can I pass a client side (JS) value in server side (C#)? e.g. I have a generated table (after uploading images) and it contains images and I want to select the image and throw the ID back in server side. The uploade I used was JQuery Uploadify and I have a "onComplete" function (simple code) 'onComplete': function (event, qu...

create linked resource for embedding Google map in mail

I have used Google static map and created linked resource and embedded it in email and sending the mail to all users. I send a request to Google server and convert the response as stream and then created linked resource using that stream. The problem is I have used for loop and sent mail to all emailid's present in the Database table, i ...

How to pass JSON to webpage on load of page?

Hi I have a ASP.NET MVC 1.0 app. I have a listbox on the page and I want to pass an array to the webpage so that javascript can use the array to do some processing depending on the item picked in the listbox. So I thought the best way is to pass JSON data to the webpage on load. So what is the best practice on how to do this? Can y...

Using global resource in JavaScript

I want to use global resource in my javascript code. Normally, when the code is inside the ASP code, I use <%=GetGlobalResourceObject("Resource", "MONTHS_SHORT1") %> and it works. But, when the javascript code is not inside the ASP code, for example in a folder as calendar.js, it does not work. How can I use the global resource in this...

unload event when using master page.

In my project i have used master page.In one particular page , i want a function to be executed on page unload(javascript event) event of that particular page.To achieve this i have written $('body').bind('unload',function() { alert('hello'); } ); But this is not working.This function is not getting called when i m...

performance boosters for an asp.net website in production server.

I have an asp.net webforms application in production server and it was really slow. So i decided to get some performance tips from my fellow SO users. I ve applied these to increase my asp.net website performance, Set debug=false Turn off Tracing Image caching <caching> <profiles> <add extension=".png" pol...

How to create a new user in aspnetdb, when using asp:login control

Hi, I seacrhed on net but not found any helpful, will any one show an example Thanx ...

jquery disable a button for a specific time

i want to disable a button for a specific time. how can i do that? ...

Could not start ASP.NET or ATL Server debugging.

Hi, I installed visual studio 2003 on windows 7.But I am getting following error on when I press the F5 for debugging. Thanks Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server. ...

making a comment page

Hi, i want to make a comment page but i don't know where to start or how to do this. The member of my page must make a comment about videos, articles etc. all help appreciated. ...

ASP.NET Beginner Question :: How do I implement something like this is my asp.net C# website ?

I want to create an FAQ page like the one on this website http://www.microsoft.com/windows/windows-7/faq.aspx When you click on the question, the answer expands...click it again and it collapses My Ques, answers are stored in a database..I googled and found out there's this Javascript to achieve this BUT also came across something tha...

how can I add .net user .net roles for my application from IIS??

I am not sure is there any other way to add User for my application othe than using Asp.net Website admistration tool?? Thanx ...

ASP.net and JQuery UI Datepicker

Given: <input id="datepicker" type="text" /> Where the id = datepicker tells the javascript to attach all the datepicker code to the form element, how do I turn this into a server control? For example: <input runat="server" id="datepicker" type="text" /> Doesn't work because ASP.net generates it's own ID's. Edit <asp:TextBox run...

Ap.net membership provdier logged out Unexpectedly

i have Ap.net WebApp Using asp.net membership provider when i log in to app after period of time server logged me out from app , and the error is Server Error in '/' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its nam...

Select where CONVERT() in NHibernate

Hello I want to generate a sql query with ICriteria interface like that select * from tableName where (dataColumn like '%2010-06-09%') I researched in google and I found CONVERT() function to do this: SELECT * FROM DATE_SAMPLE WHERE CONVERT(CHAR(10),SAMPLE_DATE,120) = '2003-04-09' How can I do this in NHibernate wtih ICriteria? ...

Appearance settings of the website,problem with CSS

Hi everyone... Am running asp.net web application.I need to modify the appearance of my web page..I want to bring a table that contains some labels and textbox to the centre of the page..I changed the align to centre..it is not working...i changed the padding pixels which is in default...it is also not working out...i feel CSS in no...

Web Site Administration Tool ERRORS

Hi, I try to use Web Site Administration Tool to set up Roles in my website. I receive an error testing "AspNetSqlProvider" "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure th...

Url Routing is not working on IIS 6

Url Routing is not working on IIS 6. (using System.Web.Routing Namespace) If i am running through VS 2008 then its working fine. if i made virtual directory on IIS 6 then its not working. its giving error 404 - file not found... Thanks ...