|
Remove if (!Page.IsPostBack) from Bind_Staff_Cycle_Grid. Becuase IsPostBack will always be true SelectedIndexChanged event.
Therefore the code inside the if(!Page.IsPostBack) will not be executed in that event.
|
|
|
|
|
Thank you that worked like charm
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
If you set breakpoints in all these methods, what do you find ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
The Break point does get to the method but the Grid does not get updated. i will check the blog
Thank you very much
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Good Morning Chriss
What dotnet buddy said it really worked it solved the Problem. thank you very much.
one more Question there is time when you asnwer posts here on the forum you always do somthing like
Vuyiswa wrote | .............
how do you do that? i mean the tags you use.
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hello All,
I want to draw a rectangle by using any image. Can any one please help me on this?
Thanks
Hitesh Rank
|
|
|
|
|
Your question makes no sense. Try asking it again.
The only ways to draw images on an ASP.NET webpage, are SVG ( if they can be forced to install it ), CSS ( if you want to draw just a rectangle ) or through styling the page with bitmap images.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dear All,
My client given one web service. when i add the service using that method its showing following error.
Failed to get operation name from the incoming request
if any body have idea help me
|
|
|
|
|
Did you get the answer for this? If yew, please suggest me how to rectify this.
|
|
|
|
|
Hi Friends,
I have an web application being hosted in webserver in which multiple files are being uploaded at once. At some point of Time,it takes too much of time to upload those multiple files(Due to large in size).So i have thought of first upload those files to local system Folder being predefined(client system) and at the end of the day by using some scheduler or some button click,Move all those files to server folder.
Now,What i need is,Is it possible to trace out the client system from web application and move those files to Some Client Folder for time being.
If Possible, Pls let me Know Friends.
Thanks a lot,
Hope there will be positive response as soon as possible,
SNG
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him forever.
|
|
|
|
|
SNG 2008 wrote: Now,What i need is,Is it possible to trace out the client system from web application and move those files to Some Client Folder for time being.
Of course not. You could write a client side app you ask them to install, which submits your images. What makes you think your image files will get smaller after business hours ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
Using C# ASP.NET 2.0,How to send the email using template
The data will be dynamic and images will be there in the template
Thanks,
S.N.Prasad
|
|
|
|
|
Do you mean how to generate the template ? A simple way is to put markers in your boilerplate text, and use the string.Format method to insert your values.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi!
I have made a small project (in ASP.NET and C#) which connects to SQL Server 2000 Database through an ODBC DSN for which I have written the Query String in the Web.Config File.
The Project is running fine in the ASP Dev. Server.
When I hosted the Site in a Remote Server, its working fine there too.
But
When I am trying to Run it through IIS (The Project is still the same and No Changes has been made to it), then I am getting an Error
Need Help!!
|
|
|
|
|
You mean through IIS locally ? Did you consider telling us what the error is, or do we get a prize if we guess ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
What is the error you get? Paste please.
PraVeeN
blog.ninethsense.com/
|
|
|
|
|
|
With an tag.
var question = (_2b || !(_2b));
|
|
|
|
|
These do not close a page. window.close() will, with a prompt for the user ( this is javascript, obviously ). I would hope it goes without saying that no codebehind will close the browser.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Not sure what you meant by "close"
1. You can close the window by using javascript - window.close()
2. It is not possible to close from ASP.NET
PraVeeN
blog.ninethsense.com/
|
|
|
|
|
Try this in your button_click event:
Response.Write("<script type='text/javascript'>window.close();</script>")
What is happening is that you are sending a small javascript directly to the browser and it is telling the browser to close the active window. It works for me.
|
|
|
|
|
Wouldn't it make more sense to write a client click event and do it in js, unless you have other code you want to run first ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I'm just showing that there is more than one way to skin a cat.
|
|
|
|
|
Fair enough. I get the impression he doesn't know which end of the cat is which, metaphorically speaking, tho.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|