|
Hi
Write That One in
if(!IsPostBack)
{
/* Put Your Code Here */
}
Here wat happanes if u don't write your code in this block,
Your Page Get Refreshed and It Takes it's Bydefault Value Which Is First.
Just Do IT™ [Information Technology]™ :->
Don't Forget To Give Ratings
|
|
|
|
|
if(!ispostback) is it write in pageload or submit button..
thanks 2 all..
|
|
|
|
|
Rajeshwar Developer wrote: if(!ispostback) is it write in pageload or submit button..
put that in both places and check what's happening. Then remove from one of the place and check what's happening. try all the possibilities. at the end you will know what is IsPostBack and How to bind the DropDownList .
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
see my code once..wht i m using here..
in submit button..
if(!IsPostBack )
{
MrkBC stateId=new MrkBC();
intStateId=stateId.States_id(ddlStateID.SelectedItem.ToString());
}
but its is not entering into if condition..its going out of if condition..
thanks 2 all..
|
|
|
|
|
Rajeshwar Developer wrote: see my code once..wht i m using here..
in submit button..
if(!IsPostBack )
{
MrkBC stateId=new MrkBC();
intStateId=stateId.States_id(ddlStateID.SelectedItem.ToString());
}
but its is not entering into if condition..its going out of if condition..
Fine, It works correctly. Did you get that? ok Now try some other possibility. put the condition in page load and check.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
ya i got it.. using this code..
if(!IsPostBack )
{
//MrkBC stateId=new MrkBC();
intStateId=stateId.States_id(ddlStateID.SelectedItem.Text);
}
it is working...
thanks 2 all..
|
|
|
|
|
that's great...I appreciate you effort.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
thanks brothers..... tell me how can i check my point in this site..
thanks 2 all..
|
|
|
|
|
Rajeshwar Developer wrote: thanks brothers..... tell me how can i check my point in this site..
Post this question in the General Disscussion Forum. somebody will guide you.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi
I want to implement google addon in my project. How can i implement
it in asp.net.
Thanks.
Rahul.
People Laugh on me Because i am Different
but i Laugh on them Because they all are same.
|
|
|
|
|
What is Google Addon?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Hi
It displays and dynamically change Google ads on our website.
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
If you wanna display the Google Ads on your site, you just need to copy the Javascript code from your Ads account. It will change automatically.. You don't need to do anything...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Hi
Where could i get this javascript code. If user made a hotel search on
my site and if i want to display google add for this search can i do it.
Thanks.
-- modified at 2:12 Wednesday 21st November, 2007
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Do you have an account for Google Adsense?? There are three ways such as "Content ads", "Search with ads" and "Referrals" to display their ads in your site.
When you logged in to your Google Adsense account, there is a place that you can setup your ads. (I think it's second tab) you can customize the color and size of your ads.
There are some sub-categories (such as "link ads", "banner ads", "image ads" and etc) under "Content ads"... If you wanna take a look what "Content ads" looks like, you can check in my blog. Scroll down a lit bit. You will see "Links" and "Sponsers" in right side. The "Links" sidebar is using "Links ads" and "Sponsers" sidebar is using "Image Ads"
I used "Search Ads" too.. You can see "Search" sidebar at the top of right side. You can either search the content from Google or michaelsync.net. You see, there is two option boxes in that sidebars.
I don't use "Referrals" ..
So, go and login to your ads account and try a lit bit...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Thanks for your help..
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
rdvsharma wrote: i) When i press enter key the page gets refreshed, instead that should move the cursor to the next cell.
You need to handle the enter key in keyup event and manually set focus to the next control. Use javascript for doing this,
|
|
|
|
|
Thx for your reply. Can u suggest me for the first query too.i.e arrow keys in grid.
I found jquery option but it is navigating to the next row, not the cell navigation.
regards
|
|
|
|
|
Hi all,
I just downloaded Aspnet ajax documentation from the following site
http://www.asp.net/ajax/downloads/archive/
I opened the downloaded folder as a website , but during the compilation it gives me an error in
Samples\LocalizingClientResourcesWalkthrough\cs\Default.aspx
as following
Element 'ClientVerification' is not a known element.
E:\AspNet_AJAX_Documentation\Samples\LocalizingClientResourcesWalkthrough\cs\Default.aspx
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) E:\AspNet_AJAX_Documentation\Samples\LocalizingClientResourcesWalkthrough\cs\Default.aspx
can any body help me with this thing...
|
|
|
|
|
how to get an open file dialog box using asp.net
|
|
|
|
|
Could you explain what you need to do ? then you might get proper replies
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
asp:FileUpload
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
asp.net provides controls called as asp:fileupload.
So use this control to get open file dialog box.
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
asp:fileUpload use it i ll get output..
thanks 2 all..
|
|
|
|
|
I am writing an ajax program in dreamweaver, and trying to run.
But, there is no server side interaction.
So, tell me at which plateform, I can write ajax program to run it.
In advance...
Thanking you
ajai
|
|
|
|