|
|
This is not a place For Advertisement my friend..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi,
I need regular expression for first name that the word should not be case sensitive that should contain only alphabets and spaces(optional upto 3 spaces) single quotes(optional)
the name should start with alphabet and should end with alphabet or space
Can anybody help me regarding this
hi
modified on Tuesday, December 1, 2009 12:47 AM
|
|
|
|
|
how about [\w\s]+
|
|
|
|
|
there is no charcter range in this
hi
|
|
|
|
|
Whose character?
|
|
|
|
|
Do u need to add character range at all.... for names.. ??
I think you are talking about first name of an individual ??
|
|
|
|
|
Good Morning,
Space (actual width and hight) on my screen is an issue and we need to keep it to the bare minimum. I am using normal login controls. I have come accross a site where the label in front of the edit box...
e.g. "User name" and "Password" is inside the box where you type when it is empty and as soon as you start typing the values disappear. if you clear what you inserted and tab of it sets the values back.
It is like the null value is set. Does anyone know how i should do that?
Thanks
Christiaan
|
|
|
|
|
I'm not sure how exactly it has been achieved but a simple javascript implementation can do this.
On load set the required text in the text box and have a javascript to check the textbox's value onblur and if it is empty then reset it to the original text.
This might not be "THE BEST" solution, but would work!
|
|
|
|
|
Chris Tiaan wrote: Does anyone know how i should do that?
You can do it using JAVA Script easily. Or you can look for AJAX TextBoxWaterMark Control.
TextBoxWatermark Demonstration[^]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi!
I need some help. I have a web control that has Labels with text set to Monday Tuesday etc. Beneath these labels are textboxes.
I also have a button with the text "Add".
When I click the add button a new row of textboxes should be places beneath the already existing ones. How can I go about reaching this?
thank you!!
Illegal Operation
|
|
|
|
|
If the maximum number of rows possible is quite less, then place all the textboxes in the rows at design time (with display set to none). Then, on click of the add button, just change the display through javascript.
If there is no limit or a high limit for the maximum number of textboxes possible, add them dynamically using TextBox class through code behind.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
What is the container control that you have?
If you are using a gridview then add a footer row and show it when you click the Add row button. This off-course is the simplest way to do it but would work for only one row at a time, i.e. you can have only one footer row per gridview.
Continuing with gridview, if you need more rows and assuming you are using bound columns, just add an empty row to your data source and refresh the binding. Again very simple to do.
If you are not using a gridview and assuming you use HTML tables, then your table should be visible on the server and you need to generate and insert HTML script, which can get a bit clumsy at times.
|
|
|
|
|
Good Morning,
My web site is hosted by a web hosting company. How do I access the ASP.NET configuration to setup roles etc.... Normally I would go to tools and then ASP.... in visual studio from my PC.
Regards,
Chris
|
|
|
|
|
Chris Tiaan wrote: How do I access the ASP.NET configuration to setup roles etc....
Go to Start -->Run-->DEVENV<--
File -->New Website-->FTP..!
Make Use of Ftp I think You can go by tht Way
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi all,
I have a datagriview and a data table. The order of rows in my datatable is r1,r2,r3,r4,r5, but now when displaying in datgridview I need to show them in the order of r5, r4, r3, r2, r1 ... That means I want to perform it in the reverse order.
Have you got any suggestion for me?
Thank kiu so much!
|
|
|
|
|
1. DataGridView means you are working with Windows Forms. Hence, this is a wrong forum.
2. You can either use order by in your SQL/stored procedure and retrieve a sorted datatable directly from the database. Or you can create a DataView for your table and sort the rows based on that.
Here I am assuming that you do have a column based on which you can sort the rows to get reverse order.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
Not sure if this would help achieve what you need, but it can be achieved by sorting the datatable and then binding. You can achieve any sort order this way.
|
|
|
|
|
Hi you can include one DataColumn named as Sr.No as in DataTable. Which could have values like 1,2,3,4,5 and so on. Now you can sort that Datatable with SrNo in Descending order. Display the sorted DataSource in GridView. So you can have the Datarows in Reverse Order.
All the Best.
|
|
|
|
|
Hi guys,
I need help about how to upload the aspx pages to the server
I'm using Cute ftp for uploading I know that any normal html page we can put it to public_html folder but what about if the page in ASPX ??
By the way, the html page works fine but aspx after uploading the best site shows folders only
|
|
|
|
|
If your .NET is installed correctly to the web server, and the folder is configured to use proper version of asp.net, only putting the file to the folder will do all...
If you cant configure IIS properly take a look into this :
Beginner's Guide : Exploring IIS 6.0 With ASP.NET [^]
Cheers..
|
|
|
|
|
Thanx alot
|
|
|
|
|
|
|
I'll take a look at that. I ended up looping through the dataset and counting the number of records until I matched by record id and then sent that information to the function needing it.
It seems to work but I thought there would be an easier way to access the datagrid _rowid.
Thank you for the information.
Carolyn
If you can’t have fun at work, then why go to work?
|
|
|
|