|
Try using the Enable property for each control
i mean, on load form, the first controls group are enable and the second group disable,
The validation control for the first group will be working meanwhile the validation control for second group arent, already the first validation, disable the all the controls for first group and enable the second, right now you can validate the second group.
Try it, its just a suggest
keep Learning and you never will be out of date...
|
|
|
|
|
how can i convert a text to audio? i have some text files and want them to be saved as audio files.
i have seen some tools but how can i do this in .net...
sanjeev
|
|
|
|
|
how to place limit on the number of characters to be entered in the multiline mode textbox?For ex. if i have to limit numbers to 1000 characters. I have tried using Maxlength=1000 but it is not working.
Can any one help me out?
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Yah It did not work that way.You may try to trim the text when retrieving it to 1000 characters.
Don't Quit
|
|
|
|
|
Thank you for replying,
i solved the problem using length property of textbox control.
bye..
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Write a Message for the clients, Example:"Only 1000 caracters for description"
In code use
<br />
Description.Remove(1000);<br />
keep Learning and you never will be out of date...
|
|
|
|
|
Thank you so much for proper guidance.
I have successfully completed my fuctionality.
bye..
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
go for javascript code and make a fuction for that textbox which will count the number of character make a if else and genrate a alert msg
this function fires on keyup or down events .
fuction abc()
{
if(len(document.getelementbyid("").value) >1000)
{
alert("not allowe");
return;
}
}
hope this will be ok try to mold this code with ur use
|
|
|
|
|
on button click i m opening one window.As we all know that by default popup blocking is ON on most of the browser. my requriement is how do i find popup blocking is ON or OFF on a page in javascript as well as in .net. if ON then i want to display message in status bar.
Regards
Amit Grover
Amit Grover
CDAC R&D
|
|
|
|
|
|
hi friends
hi friendsiam new for asp.net my work is datagrid view how to check box all items ,delete checked all items there are iam taking to one buttons,one label is a message ThereNoRecords 1)delete all Records 2) There Are no Records
if iam delete all records frist check the database ,and next give display message of label there are no records , if there is no records datadrid is Enable for form
please urgent
thank u
harishkumar.macherla
|
|
|
|
|
|
I have a need to capture the onblur and onfocus events of my input boxes on an html form and perform custom external handling in my vb.net application. I have been able to successfully hook up a handler to the 'onclick' event, but the 'onblur' events are not working. Can anybody please tell me why is it happening?
i have picked up an input box and then attaching an evenhandler using
AddHandler CType(txt, mshtml.HTMLInputTextElementEvents2_Event).onblur, AddressOf Me.txt2_HTMLInputTextElementEvents_Event_onblur
and the correspoding handler is like this.
Private Sub txt2_HTMLInputTextElementEvents_Event_onblur(ByVal pEvtObj As mshtml.IHTMLEventObj)
.....................
........some code will go here .......
.....................
End Sub
|
|
|
|
|
u can not fire two client side events on one control.
|
|
|
|
|
Hi dear,
I want to use Webdatawindow control in asp.net. Using ADO Dataset as datasource.how it is possible ? I also want it in three tier.Please help me.If you can possible give my email id of anybody who is using webdatawindow control in ap.net.
Thank you
Mali.K
|
|
|
|
|
Hi! There is two buttons in my aspx page. On clicking button1, i opens a popup window before posting the form to the server. now after post back, i want to close this popup window using button2. problem is that when i opens popup window & posted form, the reference of popup window lost. can any one have idea to preserve this reference of popup window in the page. or any other methos to do this.
samir
|
|
|
|
|
Hi all,
How to upload a folder in asp.net.
|
|
|
|
|
you need to zip that folder
Dotnet
|
|
|
|
|
Upload ¿Create? DirectoryInfo di = Directory.CreateDirectory(Url)
keep Learning and you never will be out of date...
|
|
|
|
|
You can't upload an entire directory but you can speed up the process
of uploading by allowing users to upload zip files and unzipping them
once they reach the server, that was you could upload lots of files
and directories in 1 click.
Take a look at this free zip component:
http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
There's an example in the download that will show you how to unzip a file
|
|
|
|
|
I've seen this 100 times and now cannot find it. If I have a page loaded with 50 items how can I direct a user to the page and put the item they want to see at the top of the visible window?
Like some sites do with a table of contents at the top...
|
|
|
|
|
|
Is it possible to use Console.WriteLine in an ASP.NET page? If so where does it output?
I know you can do this with web applications with Java Servlets and JSP using System.out.println(), it just outputs to the IDE. Just wondering if this was possible with ASP.NET for debugging purposes. I'm using Visual Studio 2005 if that helps. Cheers!
Sunday Ironfoot
|
|
|
|
|
It does not make sense if you use the Console.WriteLine method to send the message to the standard output stream in an ASP.NET application, for debugging purposes you can use the utility methods of the Debug[^] class, and you can see the messages in the output pane in IDE when you debug your application. For more details, see ASP.NET Troubleshooting and Debugging[^]
|
|
|
|
|
I have an ASP.NET application where I do not want the users to be able to browse some folders, but I would like them to be given access to files in the same folders if provided with a link. Is that even possible?
|
|
|
|