I managed to see pictures in a Gridview (I am kind of new to Asp.net) and, with some javascript, I see a pre-formated picture before the pics are retreived from database. I tried to put an animated GIF instead of a static one but the animated GIFF doesn't animate.
I have a gridview that has selection enabled but i dont want the end user to be able to select the top row is there any way to turn selection off for this row only?
I have a dynamic website where each page has a selection criteria and a button. When the user clicks on the button it creates an csv file on the remote server and then emails it to the person who is logged in.
I have seen on a lot of sites where the screen goes a dark grey (still being able to see the webpage underneath) and a animated gif in the middle looking like a circular egg timer. Once the processing is complete it goes back to the webpage.
I have to display the contacts in gridview.I'm using objectdatasource. I have given the select method of objdatasource below:
Code:
Imports Microsoft.VisualBasic Imports system.Data Imports System.Data.SqlClient Imports System.Collections Imports System.Collections.Generic Public Class Contactmanager Dim conn As New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings("localConnectionString").ToString)......
I have 3 links in my web site master page, every link go to another page. When the client be in any page of it I want to disable its link to prevent reloading the same page on itself and loosing the data which the client enter (Text Box, Radio Button, Combo Box...). How to do this?
Until last week it was going smoothly. Now when I make changes to any of the forms it still shows up fine when I hit F5 to run it, but when I install it on the server none of the changes show up. I have uninstalled the site and reinstalled it but the result is the same.
I am using VSTS 2008 and I have tried building this on two machines with the same result. The solution contains a web deployment project and a setup project. Both of which were working fine early last week. This isn't a configuration specific issue because it happens on both. I get no error messages.
I have VSExpress 2012 and am creating a WebForm survey app.
I have two pages - the start page (StimEntry.aspx) and the survey page (SurveyPage.aspx)
I have a "Begin Survey" button on the StimEntry page, but am not sure how to switch the user to the survey page when they click that button. Desktop app tutorials use PAGE.show, but that doesn't work here, and I'm assuming that's because I am working in a web form, but am not sure about that.
In my development environment everything works as I expect. I can access all the pages and as soon as I get to a secured page I check the Request.IsAuthenticated and redirect to the login page if needed. The problems starts when I deploy the project under IIS7. When I access the site I'm being redirected to the login page (as defined in the web.config) although it suppose to be a public page... If I disable the Form Authentication in the admin console Request.IsAuthenticated always return true.So
How can I make IIS behaves like my ASP.NET development server?
I was wondering what anyone else thinks of this. We are looking at creating an online form with just creates a simple email and fires it off but we would like to give the user the option of sending an attachment. Does anyone have any thoughts on the risks involved with this from a security standpoint? Is there any special products that .net could use to scan files first? some third party application or control?
I have been having trouble finding much good info from google cause, well... You type the words like "email attachment" "risk" or something like that you get so much back it is out of control.
I have a web application in VS2005 development and I migrated this web application to the latest development in VS2008. Everything is working fine except that the modal popup panel is not showing in the form design in VS2008. I'm wondering why is it and how do I view the modal popup panel in the view design form in VS2008?
I have two web forms inside the same project folder that will be very similar when completed. When I copy a web form and paste it in the project folder by its new name I can see the .aspx file, the aspx.cs and aspx.designer.cs all by the new name. Appears to work perfect...........Why don't these show up when I view the Solution Folder? I was hoping to copy one, make changes and rename the second one saving time. Appears to not be tied into the Project.
I'm building a shopping cart page that could potentially contain dozens of separate items. Each item has a collapsible panel that contains several form elements that can be used to customize it. Most of the cart is wrapped in an UpdatePanel so that I can avoid a full postback when the user makes changes. When there are many items in the cart, there are of course many many postback elements, all of which are included in the raw form post, even though each post is really only triggered by the change of a single element
I have set up the Auto complete control and the web service to populate it, this web service resides within the project that uses it, it works fine on my machine (if I had a nickel for every time I heard that from a developer...) , but when I install it on Dev, the site asks for authentication, then when I select the tab with the textbox that has the Auto Complete control, it asks me for authentication again. If I remove the Auto Complete control, it no longer asks me. The funny thing is, I can enter authentication info OR just click cancel and the web service works fine.
In the IIS site on Dev and in the Web config, I have turned off authentication (in IIS I use anonymous and in the Web.config, I set it to "none") My development machine is in a domain, for some reason beyond my control, both Dev and Prod are not in a domain; both Dev and Prod machines are Server 2008. how to prevent this authentication form from showing???
I have FileUpload Control; I need to remove the file content from the control once the operation is done. I am trying to dispose the Filecontrol object but no luck.
Can someone tell me how to edit/update/delete record on the Form View?
i got this on my Update COMMAND :
Code:
[code]....
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?, Name = ?, Addr1 = ?, Addr2 = ?, Addr3 = ?, Addr4 = ?, PhoneNo = ?, HPhoneNo =' at line 1
I am having 2 web formsand will have a drop down list on those web forms. If i select a value from drop down and click on ok i will get tranfer to next page. In that page i will have a drop down with the same values in the previous form . What i need is i would like to disable the selected value in the previos form and would like to display the remaining normal
I have developing ASP.Net Website and has a Webform with lots of controls. I have so many different controls on my page like buttons, textboxes, etc.
Now what happens is that generally on any form, when user hits Enter Key, it fires the first default button's click event or if focus is on any button, it fires that button click. I want to avoid this.
When user hits enter key on form basically nothing should happen. But let's say if he is entering into multiline textbox, that enter key should work to go to next line in that textbox.
I tried this.
[Code]....
but the problem is that then it disabled enter key for everything. But what I am looking for is that to avoid any button click event or any other postback to happen when user hits enter key while being on form anywhere. But Enter key should work when it is inside textbox or inside any such control.