Hi Everyone,
I couldn't find a regex forum so I'm trusting my fellow asp.net-er will have this type of knowledge.
I'm trying to validate a date field before I put it into a database. Does anyone have a regex for dates formatted in all of these ways 3/3/2005, 03/3/2005, 3/03/2005 and...
How do you check to see if a datagrid item has been selected?
I'm creating a editing form where a user will click a update button and if they didn't select a item in the datagrid I want them to receive a message, but I'm not sure how to check and see if a item has been selected in the datagrid...
Hi Everyone,
I have a datalist with an edit and delete button and both of them worked fine, until I wanted to put a message box confirmation for the delete button.
Now when I click the Edit button I'm getting this error on the lnkDelete.Attributes.Add... line:
Object reference not set to an...
Hi!
Dim i As controlname = New controlname
Dim i2 As LinkButton = CType(i.FindControl("lnkServices"), LinkButton)
i2.Visible = False
I keep getting this error when I try to make a link button invisible that is in a user control:
Object reference not set to an instance of an object.
Any...
Hello Everyone,
I'm using a datalist on a form. I'm comfortable using a datalist as a editing tool, by using the itemtemplate and edittemplate. The user could go to an item click a button (with editcommand) that executes the edit command and the datalist goes to the edittemplate allowing the...
Hi Everyone,
I have a form that has multiple radio button (yes and no questions).
My concern is, what is the best way of saving these values? I'm guessing boolean.
I'm wanting to save these values in a database (SQL Server) so that I can retrieve them later on.
Just to explain the project...
HI!
Does anyone know how to create a button to print a form inside of an Iframe?
I want to create a button that will be clicked inside of an Iframe and only print that portion of the site.
Thanks!
Hi Everyone,
I have multiple forms and a datagrid on each one. The last form will take all the data from the previous forms, which I saved in a dataset with multiple datatables, and save it to a database.
My problem is I have a form that has 5 fields, none of the fields are required. I save...
Hi Everyone,
I've created a repeater with linkbuttons that displays a through z. If you click on a link in the repeater a datagrid show only the record accounts that start with that letter. My problem now is I don't want all the links to be enabled if there are only record accounts that start...
Hi Everyone,
I'm having an issue with my datalist font color. What I need is alternate fore and back coloring. The back color is working but the font color(forecolor) is not.
itemstyle forecolor: black
itemstyle backcolor: light blue
alternate forecolor: white
alternate backcolor: dark blue...
Hi Everyone,
I've read this article on creating an editable dropdownlist:
http://www.codeproject.com/aspnet/combobox.asp#xx1035240xx
FYI: I have framework 1.1 and vs.net 2003.
I've did everything the article said to do but I keep getting the data without the comboboxes.
Here are the steps I...
Table Data
-----------
CompanyName1 - DateEntered
John's Furniture - 02/05/05
John's Furniture - 02/02/05
Jack's Furniture - 01/09/05
John's Furniture - 01/03/05
Jack's Furniture - 11/09/04
From this data how could I pull just this
Jack's Furniture - 01/09/05
John's Furniture - 02/05/05...
Can you disable a textbox without greying it out?
I have a dropdownlist that a user can select and the other textboxes are filled by what item is selected. I don't want them to even try to type into the textboxes so I wanted to disable them (enable=false) but I don't want to grey them out.
THANKS!
Hi Everyone,
I've filled a dropdownlist with some values from a db. How do I add a "Select Item" item to the dropdown after filling it from a DB?
Thanks!
Hi Everyone,
Can anyone tell me if you can create a web form with fields and a button that will then open a pdf with the field values displayed in the text of the PDF form? If so, can you tell me how you did this?
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.