|
nabeelkhan wrote:
(as asp.net internally generates Text box by default
Its no magic.
If you look at the HTML source of your .aspx file, you will see a EditItemTemplate where a textbox is defined.
You can add your validator in that template so that it is added to the HTML when user presses Edit button.
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
Hi,
i have textboxces in datagrid control now i want to validate these textboxces through javascript fucntion ,,kindly help me in this above regard
waiting for ur resposes
|
|
|
|
|
u can use validators like Regular expression validator etc in asp.net
|
|
|
|
|
Hi friends !
I tested my aspx page on local host and its perfectly running. I host that page in the Internet,and when I tried to open that aspx page It shows an error message ie Server'\'error......
Even I upload all supporting files such as bin global.aspx web config....etc
please help me friends
demane'
|
|
|
|
|
HI
First check which version of asp.net u r using either asp.net1.1 or asp.net2.0.
check your webserver on internet supports your asp.net version.if its correct everything work fine..
Regards
R.Palanivel
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
On ur webspace where u are uploadiong the site check that ur hosting service providers have enabled asp.net for ur website or not if not then change ur web hosting settings and enable it
|
|
|
|
|
I have an asp image upload control in my project , and i can't able to upload images more than 4kb size. What i should do to upload images up to 6kb.
Thanks in advance.
Regards
sundarapandian
|
|
|
|
|
I used the FileUpload control and its working with all images sizes
keep Learning and you never will be out of date...
|
|
|
|
|
Thanks for ur reply,
but the size is 4mb not 4kb as i mentioned in previous post.
u cant upload a image more than 4 mb in size.
|
|
|
|
|
Hello all.
I am working on asp.net 2005, the solution is wroking fine in local machine but when I copied pages in web hosting server its giving some exception, i was not ably to see the exact exception because in webserver its send to specific page if found any error.
I removed the line where I was creating object of other class and then copied to web and it works fine.
So is there is any specific way for creating object of other class in aspx 2005.
|
|
|
|
|
Something as simple as creating an object should not cause problems! In order to properly troubleshoot this, you have to see the exception... in your web.config change your custom error tag to the following:
<customerrors mode="RemoteOnly">
You may have other elements/attributes associated with your customErrors, but you should be able to get the idea. Now, you should be able to see the actual exception ONLY when you access the application from the hosting server. Also, check your event viewer to see if asp.net has logged any application errors/warnings.
I got a couple of questions, did you precompile your web project? Did you send over the Website, or the whole solution?
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
few company use cruise control open source but i want to what is it actually and in which situation i have to use it.
what is the advantage of using cruise control with .net.
tbhattacharjee
|
|
|
|
|
basically there is huge hype about hibernate.so i want to use it.any body can is there a any tutorial for hibernate
which guide me in such a way as a result i can work with hibernate.is it ORM.
tbhattacharjee
|
|
|
|
|
wat r the diff types of webserver other than
APACHE and IIS..
|
|
|
|
|
IIS: Microsoft, Support ASP by default, its highly integrated with Windows, Its free buying Windows XP professional or any Server Edition, The version over Windows XP just support 10 users on concurrency, and its easy to setup.
The Apache is powerful, is free, but if you are not familiar with it, try the IIS.
keep Learning and you never will be out of date...
|
|
|
|
|
thanx 4 ur reply... but is there any other webserver other than these two????
|
|
|
|
|
The four top most common Web or HTTP server programs are:
Apache HTTP Server from the Apache Software Foundation.
Internet Information Services (IIS) from Microsoft.
Sun Java System Web Server from Sun Microsystems, formerly Sun ONE Web Server, iPlanet Web Server, and Netscape Enterprise Server.
Zeus Web Server from Zeus Technology.
|
|
|
|
|
hai
c# in asp.net
iam havibg datagrid in aspx page iam displaying 2 rec at once,
the issue is
iam binding 6 rec to a datagrid
once i cik on submit button all the rec has to be saved
plz let me know
|
|
|
|
|
hi,
i have used below code to show client validation.
<br />
Sub validation(ByVal strMessage As String)<br />
Dim strScript As String = "<script language=JavaScript>alert('" & strMessage & "');</script>"<br />
If (Not ClientScript.IsStartupScriptRegistered("clientScript")) Then<br />
ClientScript.RegisterStartupScript(Me.GetType(), "clientScript", strScript)<br />
End If<br />
End Sub<br />
And I have used Treeview on my page its custom control. When alert shows that treeview is giong to hide and thats not whole treeview only some below nodes of treeview.When i am moving mouse towards treeview it shows me treeview.
Why this problem arives ??
Please help.
Thanks,
Tejal
|
|
|
|
|
I highly suggest that you use this third-party control... it's free of charge too!
http://www.obout.com/t2/edraganddrop.aspx
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
Hello folks, I need to work on a client's data driven asp.Net site and make it accessible. The things that immediately came to my mind are making sure all the images have <alt> tags specified, and that all the tables have headers elements specified in html. Now these are the things that can be checked pretty quickly...I'm trying to figure out what is the right approach towards accomplishing this compliance with the W3C standards on accessibility. In other words do you guys think that redesigning the site from the scratch would be a better option, or should I just make sure that all the controls that are being used in the site (most of them are data bound controls) would have some property exposed on them which will allow the alternative text behaviour (NOTE: datagrid for instance doesn't support alt tags but has use accessible header property which allows you to specify a header so that the screen reader programs and read it without any issues.
Folks, the bottom line is that I'm basically trying to see if anyone of you guys have worked on this sort of stuff before where you are making an existing site (pretty big in size) accessable. I'd appreciate if you share your experience with me.
Thanks and happy Thanksgivng to all.
sam
|
|
|
|
|
Sam
Your problems really kick in if you are using any ASP.NET control that exposes badly formatted HTML. Now, accessibility means different things to different people. For instance, if you want a blind person to be able to use the site then you will find that tables are pretty much useless because they render it almost impossible for screen readers to work with the site. This means that you will need to use CSS, but the ASP.NET controls such as the menu control expose tables don't they? Well, if you are using .NET 2, there is a wonderful little thing that you can do:
http://www.asp.net/cssadapters/[^]
I hope that this gives you some ideas.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete,
First of all, I loved the quote at the footer of your post "Deja View - the feeling that you've seen this post before."
Thanks for the response, you are right that figuring out how these server side controls reneder themselves would definitely be the challange...see I've been a middle tier developer for a few years now and haven't done any front tier development in a while and therefore not very good with all the differnet controls and things of that nature.
Oh btw we are using ASP .Net 1.1....so the CSS Friendly Control Adapters that you mentioned in the article are also out of the loop...by the way the article said in the begining "you can modify any ASP.NET control so it produces exactly the HTML you want". This seems like a pretty powerful statement...now in practice though, are they referring to just modifying the HTML from the html view in Visual studio editor to make the particular control do things that you desire...or are they referring to adding properties, events and things like that to the control programatically??? If either one of these statements I made above are true, then that would mean that it doesn't matter what kind of control I'm dealing with, as long as I can modify its built in behavior I should be good.
Any other pointers or thoughts that you may have, I'd love to hear them.
Thanks for your time.
Sam
|
|
|
|
|
Hey fellows, does anyone has anymore input on my questions/concerns. Appreciate all your time and effort.
sam
|
|
|
|
|
Sam
We did a lot of work with .NET 1/1.1 to render out accessible web forms. Here are some pointers to get you on your way:
If you want XHTML output (not strictly necessary for accessibility, but it is a nice to have), then you are going to have to modify the HTML that is sent back to the browser. This article gives you a taste (the approach we took was different, but that was because we needed to modify other things on the form as well):
http://www.liquid-internet.co.uk/content/dynamic/pages/series1article1.aspx[^]
One way to guarantee that you produce valid CSS is to "roll your own" controls. This is not as hard as it sounds, and can be good fun.
Regards
Pete
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|