|
www.regexlib.com has multiple regular expressions that'll do what you want, pick one.
|
|
|
|
|
|
i add a TemplateField to gridview programmatically and i add a textbox in it programmatically also
the problem is:
when press on any server side button the data will clear from the gridview and the textboxes not appear to allow me to write in it
|
|
|
|
|
In which event you are adding this Template Field and Textbox to Gridview ? Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
|
Sandeep,
What I am gussing is, he is adding the dynamic control after Page_Load, which cause the lost of view state and postback data.Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
Yes it looks like the same. He need to re-create it on postback.
|
|
|
|
|
Sandeep, I sent you one Chat Request in GTalk. Did u get that ? Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
|
Yes. I sent on that Id's only. I dropped you a mail also.
Thanks !Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
I want to run a bat file from server on a client machine, it includes print command, i am doing this with process but it shows no error and no output as well.modified on Monday, March 15, 2010 5:01 AM
|
|
|
|
|
Just to clarify: you want a batch file to run on a client machine?
I doubt that's possible, that would be quite the security risk.
if it's the other way around, i've done that before and sometimes it's a permissions issue, can you post what you've tried?
|
|
|
|
|
yes i want to run bat file(from server) to run on client machine, it is in our intranet website.
|
|
|
|
|
It can't work then. Sorry.
|
|
|
|
|
Put this in a batch file:
format c:
Now imagine I could execute that batch file on your PC from my website.
Do you see a problem here?
|
|
|
|
|
What are you trying to do? It may be possible to achieve it in a different way. Running a batch file on the client is not (afaik) allowed. Think of the damage you could do.Tychotics
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
You can do it using ActiveX. But ActiveX will work only on IE. Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
Need sample code/URL for SAX XML Parser in C#.Net to display and edit the XML file in .aspx page. beula.
|
|
|
|
|
And I need to win the lottery. Neither are likely to happen anytime soon.
The way this works is you first try to work it out for yourself and then, when you get really, really stuck you ask for help based on what you've already attempted. Or you trawl through Google - there is bound to be someone who has already done this and posted some info about it. Posting this here either means you are too lazy to figure it out for yourself or it is homework.Tychotics
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
Am new to this topic & after trying a lot in google, since i couldn't get any proper solutions for my requirement i have asked to provide the URL or what u know about this if & only if u have found that could be helpful for novice users.
|
|
|
|
|
antony beula wrote: i have asked to provide the URL
No you didn't, you asked for code.Tychotics
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
How to refresh content place holder only without refreshing whole master page?
I already used UpdatePanel in Content Page.
|
|
|
|
|
When do you want to update the content page ? Is it automatically or with some event ?
As you have already used UpdatePanel for content page, you need to do one more thing, Make the UpdateMode of that UpdatePanel as "Conditional ". And when ever you want to update the Content Place holder, call UpdatePanel1.Update() .
I assumed, Updatepanel1 is the name of Updatepanel for your content placeholder.
Let me know if you need any more information.Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
I fixed UpdateMode Conditional in all content page and written code on Load event of Master Page as -
((UpdatePanel)ContentPlaceHolder1.FindControl("UpdatePanel1")).Update();
But it still refreshing content pages. Is there any problem with by code?
|
|
|
|
|
I didn't get your point. You want to refresh the content page only. Isn't it ? Cheers !
Abhijit
Codeproject MVP
|
|
|
|