|
hi paddy i'm facing the same problem.
actually my client don't want a postback of pages.
as u said we can do this by Ajax.but i don't have any idea abt Ajax could u send me some code to perform this.
u can reply me on amit_avesh@yahoo.co.in
thanx
Aavesh
|
|
|
|
|
Dear All,
How I can update multiple rows (with multiple column) , Values are from another Table.
Pls reply URgent
|
|
|
|
|
INSERT INTO TableA (AColumn)<br />
SELECT AColumn<br />
FROM TableB
|
|
|
|
|
I think its better to use a cursor, it is faster too.
|
|
|
|
|
Umm, maybe better by some standards, but definately not faster. If you'll check your SQL to English dictionary, you'll see that "cursor" means "slow as hell."
Visit BoneSoft.com
|
|
|
|
|
Hi Friends,
I have two things that I am running short of ideas on how to solve.
I am working on medium sized search form where in I will have to do
considerable validations befor it submits the form.
1).I have to put a validation on a text box ( _txtVIN ) such that it
min and max charecters should be 8. In other words user shouldn't be
able to enter more than 8 charecters of the total VIN numner. At the
same user must enter 8 charecters if at all he eneters some thing in
the text field. I have put the max length property to put a cap on the
number of charectors entered. But no clue how do I do it in the case
min of 8 charecters?
2). I have 3 text boxes. I need to make sure that atleast one filed has
the text in it before it submits the form. In other words user must
enter atleast a value in any of the text boxes. I am not sure what
control would do best to do this?
say _txtYear, _txtMake, _txtModel and the form shoudln't submit unless
user provides atleast a value in the respective fileds.
Any inputs is greatly appreciated,
Thanks,
-L
|
|
|
|
|
1.) Use a RegularExpressionValidator with a regex like "\w{8}" or something.
2.) There is a RequiredFieldValidator , but that's based on one control at a time. You could probably make a custom one that attaches to all three. You can write some javascript on your submit button to prevent it from submitting, or you can just check the text boxes in your server side code.
|
|
|
|
|
Ok I will try providing a regexp for the first one and Yeah thats what kind I thought to do the server side code. I thought there has been some thing that I am not aware of so just posted here.
Thank you for the reply,
-L
|
|
|
|
|
Hi,
I’m try to find an easy efficient way to generate my web pages dynamically from an xml/text file.
What exactly I want?
I want that whenever a pages is loaded it will go and read an xml/text file which will include the style of the page (tables,div, web controls, etc) and will build the page according to that. Meaning that initially the page (“default.aspx”) has no html on it and its entire html is built on the fly, per request. Please keep in mind that that text/xml file may include names of webcontrols that will have to be added to the page as will and will render themselves.
In a nutshell, I’m trying to find a way to inject to an aspx file its “hard core” html (the html which exist at design time in the aspx file) before its start to load and render itself. Please keep in mind that I cannot/don’t want to start creating those files on the fly, hence, no file IO writing.
I there any simple way to implement such a thing?
I’m working with .NET 2.0
Any idea would be great,
thanks,
Ori.
|
|
|
|
|
You need some kind of xslt file(s) to change your xml to html. You could then load up your xml at runtime, bind it to an xml view control along with your xslt.
|
|
|
|
|
Hi,
Using the Fileupload control in asp.net 2.0, how is it possible to make the control show only certain file types. i.e. .xls.txt...
Thanks
|
|
|
|
|
It's not. That's controlled by the browser.
|
|
|
|
|
Sir,
Can we ue tooltips on the controls.Like on label control I want the tip
"this is a label"
Thanks and Regards
Ananeet Brar
|
|
|
|
|
|
Can you please send any link or code?
Thanks and regards
Amaneet Brar
|
|
|
|
|
Hello,
I created an asp.net web application with the framework 1.1. I found out that the target server have framework 2.0 installed and so my application is not working very well.. can someone please advice me on what to do in this situation?
Thanks alot,
Commickey
|
|
|
|
|
In IIS administration, in the properties form for your website, they should see a tab called asp.net. On this tab you can specify which version of .net your site should run under.
|
|
|
|
|
Hello,
The target server is a remote one that I do not have access to... so how do I configure the IIS to run my intended version?
|
|
|
|
|
Somebody must have access to it- get them to do it
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Hi everyone,
When i start debug a very simple web form i received the error message
"Error while trying to run project: Unable to start debugging on the web server".
I'm using Windows XP SP2 .NET Framework v1.1 .I also set the debug mode in Web.config to true but i still get error?Please tell me how to resolve or some articles about this.Thanks very much
|
|
|
|
|
|
i've read that article.I found a error message like i got
"Unable to start debugging on the web server.Server side-error occurred on sending debug HTTP request."
As mentioned in that article,there are two reasons for that error:
1.The web application does not have an application name.(My app has one.I've checked it)
2."If you are using the NTFS file format, make sure that "aspnet" has proper privilege on "wwwroot" or your folder for virtual directory to access and write on the folders."
But i dont know how to give aspnet privilege on wwwroot.I use NTFS.
Last time i used FAT32 and i found an ASPNET account in User Accounts of Windows (i did not do anything just see that).So how to add ASPNET account to User Accounts?
Thanks for reading
|
|
|
|
|
you must have Write privilege on your web vitual Dir which you can set by going to IIS and virtual Dir Properties and enabling write check box.
Nav.
|
|
|
|
|
largs wrote: how to add ASPNET account to User Accounts?
Might have to reregister it with by running:
System32\Microsoft.NET\Framework\vxxx\aspnet_regiis.exe -i
|
|
|
|
|
Most likely that you haven't told the site to permit debugging I'd guess...
IIS Admin -> Site Props -> Configuration button -> Debugging Tab
Have a mooch there and make sure that "alles ist gut"
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|