asp.net

How to keep session alive between two calls to a web service in a c# application?

This is quite straight forward. I'm calling a web-service (.asmx, with session enabled) from a c# application. I want each call to be with the same session key as the previous one (as opposed to creating a new session key each time). Here's my (nothing-out-of-the-ordinary) code: public string invokeMethod(string methodUrl) { Ht...

Rad Upload modification

i have a Rad Upload control to upload more than one image ,,the problem is :: i want each image to have a caption (inserted by the user as a text)during the uploading operation,, so what i wanna to do is modifying the Rad Upload control and adding a text box in it and access the data in this text box .. how to do this???? ...

Creating a dynamic site map page for an asp.net application - C#

Hello all, I have created a ASP.Net application which basically serves as a content management site. I need to create a Sitemap for our website which should be dynamic. I've tried Telerik's Sitemap control for ASP.net Ajax and found it useful. I want to know which is the best way to create a dynamic site map page in an ASP.net applicati...

i need web service to check mail and smtp validity...

anyone knows any web service of that kind which is easy to integrate with asp.net? ...

Issue opening .aspx page in a new window from inside an ajax modal popup

Hi AlL I am trying to open an preview.aspx page in a seperate window from INSIDE an ajax modal popup. I have tried doing it with client side scripting using the onClientCLick preview.target _blank etc but this doesn't work at all. I have now managed to at least get this working within my lbPreview_Click routine but this requires a 2nd c...

How to integrate Yahoo static map in ASP.Net website

How to display yahoo static map in ASP.Net gridview control? The address for loading the map will be present in one of the columns of gridview and based on the address of each row the static map has to be displayed on each row. ...

How do I implement this pop up box that displays when hovered over "Shopping Cart" link in this website

I want exactly like this...not a simple box but the one with shadow borders like this one..I have been googling but all I came across is Slide down boxes and tool tips..that's not what I want..How do I implement the one in this website..oh and this box's got HTML stuff in it...like buttons and all Is there any way I can see the code of ...

Select from database after string entered in AJAX (ASP.NET)

This is probably simple, but I'm unsure of which tools to use for the job. Basically, the user needs to enter either an account number or name (same text box), and when they click search their account details will appear below in detailsviews and gridviews. What tools do I use so all this can happen on the same page? ...

Need to make my database field a DateTime field currently is set to string

Here's my query Dim query as String = "Select * from openquery (devbook, 'SELECT wb.arrival_time FROM web_bookings wb ')" All I need is to convert my arrival_time into a datetime field in the query Is this possible? Thanks Jamie ...

Environment.NewLine sometimes returns \n Linefeed instead of \r\n Carriage Return, Line Feed

I'm displaying an address to a user on a ASP.Net page using a label. The new lines are converted from Environment.NewLine to <br /> If a user edits the address, the address is displayed in a text area and the <br /> is replaced with Environment.NewLine Sometimes the address saved to the database only has the line feed. Gi...

Hide list-style image for one specific list item

I am having an unordered list like: <ul style="list-style: square url(Images/rssIconSmall.png)"> <li><h3>All Items</h3></li> <li>Item1</li> <li>Item2</li> <li>Item3</li> <li>Item4</li> </ul> Since I am giving "list-style" as image it ap...

How can I use Ajax Toolkit AutoComplete Extender to make AutoComplete textBox

Hi, I have tried this example http://www.asp.net/ajaxlibrary/act_AutoComplete_simple.ashx but it is not working in the demo or in my project can any one help me please Thanks in Advance ...

How to know how many times a button has been clicked ?

like I want the user to send some info only once ..actually have sent a link thru email that opens a page with text box in it ..In that user sends some info by clicking a button..now I dont want user to use that link over and over to send the info ... ..so how do i go abt it ? hope the ques isnt confusing ...

Passing whole dataset to stored procedure in MSSQL 2005

How do I pass a dataset object to a stored procedure? The dataset comprises multiple tables and I'll need to be able to access them from within the SQL. ...

asp.net embedded code with asp.net server control.

Hello, I have use embedded code to assign the value to label's text property.But the assign value is not rendering.Here is my code sample, <%lblProposedYear.Text="Hello"%> I can not display the text "hello" at the time of page load. Please help ...

control appears multiple times asp.net

i have to two buttons in aspx page. i added ajax functionality to the page. but now thesee two button appears twice when i run the page. whats the problem? ...

Sort the asp.net gridview on a bound column in the aspx page

I need to sort the rows in the asp:gridView in the aspx page on a field named LastName. I bind the grid using a datatable in C#. I do not use the datasource in the aspx file. Giving the SortExpression in the grid doesn't work. Please can anyone direct me how to achieve this? I've done this till now but it doesnt seem to sort ...

Renaming column name in excel after populating data from gridview

Hi all, I have a dashboard which is a gridview. I've a button to export the gridview data to excel which is already working fine. The only problem is that the column names are not user friendly and I want to change it while populating the data from the gridview. The column name of the gridview is not coming to the excel at all. It's ju...

How to referesh Telerik:radgrid contorl using Javascript ?

How to referesh Telerik:radgrid contorl using Javascript ? ...

Hosting Error in asp.net pls help

Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. D...