asp.net

Telling jQuery to reload page when there is a server side event

I have a page with a div and the elements within the div get updated from the server side periodically. For example, I have a progress bar in it. Currently, I'm doing jQuery.load using setInterval to periodically refresh the div on the page (every 3 seconds). I was wondering if I could achieve this using an event-based method rather t...

listview with imagebutton thumbnails in asp.net

I am trying to implement an image gallery in ASP.NET./c# I am displaying 6 thumbnails on my page. To display this I have decided to use ListView with an ItemTemplate containing an ImageButton control in it for each thumbnail that I would be displaying. I have a few questions: Am I choosing the right controls? (there are options like D...

Get Value from Url

i have a following url http://example.aspx#gbar where #gbar is a Anchor. if this anchor is available i have to do to hide some div and show some div . How will i check if the url has this anchor ,because it is not a query string we cna't use request.querystring.get() .Any ideas ?? ...

radio button list in repeater control

Hi, I have a repeater control in my page. I need to have a radio button in all the rows(Item template) on checking an radio button the remaining radio buttons must unchecked. How to do this? Thanks in advance, Tor ...

Asp.net Request.Url.AbsoluteUri return IP

Hello guys. I've got problem: When I use Request.Url.AbsoluteUri to detect page url at runtime, I always get url with IP, although my site is deployed at adress: http://site.domain.com. How can I get url with http://site.domain.com instead of server ip. Thanks. ...

Integration testing web services against a testing database

I'm currently building a .net web application that uses WCF web services to allow a Flex front end to access the database. I'm in the process of setting up some unit/integration style testing on the web services and am trying to work out the best way to allow the tests to access and modify data in a separate test database. Currently, t...

what is connection pooling?

can some body please explain me connection pooling plzzzz? i am just not getting it from internet ...

Difference between Window Service, WCF Service application and ASP.NET web service application?

Hi, I don't know this is a right forum for my question or not? I am new in Web Services. Today i just open VS2008 and found 3 type of SERVICE project 1. Window Service 2. WCF Service application 3. ASP.NET web service application Please help me to find out the difference between these three project? When should we decide which typ...

checkbox property using jquery

hi, i m a beginner. i want that when a checkbox is checked then it should allow user to write something in a txtbox. initially the txtbox is disabled. what i should write inside the function using jquery ...

How to use CSS in ASP.NET application

I want to know to use CSS in ASP.NET. If I have set of CSS files and I link my master page to them, how to utilize them to make my application look good. I'm not talking about CSS itself but about how to use its elements in the source of any ASP.NET page. I'm looking for suggestions, resources, sites, or opinions. ...

how to prevent inheritance for web.config file for "configSections"?

I have following in my parent web applications config file <configuration> <sectionGroup name="testmodule"> <section name="testmodule" type="RewriteModule.RewriteModuleSectionHandler, RewriteModule"/> </sectionGroup> ........ i want to prevent child subfolders from inheriting this config section where should i put <...

ASP.NET Webservice calling WCF service

Dear Balaji, I have almost the same problem as you have described in http://stackoverflow.com/questions/1503242/calling-webservice-from-wcf-service. I have a asp.net webservice that calls a WCF service. On my development machine this is working fine. But if i deploy my ASP.net Webservice it is not working. Both the ASP Webservice en W...

HTML File Upload Control Problem in Asp.net 2003

hi im using html File Upload Control in Asp.net 2003 version...whenever I try to upload the file its working fine...but suppose I upload the file then I click any radio button or any other button, fileupload control value is automatically erased..so I cannot upload the file successfully...anybody help me... ...

Display default text in textbox when a MaskedEditExtender is attached to it

I am using MaskedEditExtender and MaskedEditValidator to validate time entered by the user in a textbox it works fine on my computer but when I deployed it on the server the default text I want to display in the text box is not getting displayed in it intead the text box gets displayed with empty text. My code is shown below : <asp:Text...

Cache-control in IIS6 not working

Hi, I'm using IIS 6 and added Cache-Control: no-cache header in IIS management console for entire website. However, when inspecting returned content with fiddler, I still see that Cache-Control: private is sent back to browser along with the response. No Cache-control: no-cache is sent though... Any ideas why? On the other hand, when I...

Posting XML data with some Fields Using .net HttpWebRequest..

Hi to all I have a some problem while Posting xml data Using HttpWebRequest. Actually I want to Post 3 Form variables 2 of them are for credential and the third one is for XML data to an api, The api will authenticate and will process the xml data, and will return success if no error found. Here is what there documentation says. The ...

Gridview FooterRow textbox text is null when accessing from code behind

I have a GridView with the following columns <asp:TemplateField HeaderText="Name"> <FooterTemplate> <asp:TextBox ID="txt_Name" runat="server"></asp:TextBox> </FooterTemplate> <ItemTemplate> <asp:Label ID="lbl_name" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "t_Name"...

asp:LinkButton code to open new browser window/tab after other code

For my internal webpage at work, I display a DataGrid based on entries in a SQL table (not directly, but with some processing on entries). Each row in the DataGrid has a button that the user clicks. I need this button to open a new window or tab (I believe I can't decide as this is based on browser config) and also change a value in the...

Csharp code to check Java script disabled in browser

i am having a application in which java script is must. but i am facing problem when at any client browser has java script disabled. i want a code using which i can check the browsers java script enabled/ disabled property so that the user cannot login until he enables javascript. can anyone help me in this code ...

Session in ASP.NET routing vs MVC

I was rewriting my routing handlers, and now I found a need to access session in the handler, which I previously thought, was not possible. However a quick search turned up with this question, answer for which is accepted, so I'm assuming it did work. Session is still null when I try to do the same thing. Am I missing something or is th...