|
In a web project i get some data from database. I intend to keep data in Session. i called the function asynchronously. but i wantto interrupt asynchron call and i wantto get data which is get untill i interrupted, How could i do?
|
|
|
|
|
You're using AJAX ? You'd have to make multiple AJAX calls until you got all the data, which means a lot of syncronising code in the javascript.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
no i call directly web service
for example
.... BeginWebMethod (...)
|
|
|
|
|
I have this login page that when a user is authenticated s/he should be directed to the main page.The problem is that only Mozilla Firefox actually takes the user to that main page.Internet explorer always take the user back to the login page even when the user is a valid user.I just don't know what or why it is so.
|
|
|
|
|
I don't think this is the browser problem. Could you please debug and check whether it is going to the main page only if the login credentials are correct?
Meeram395
|
|
|
|
|
If the credential is not correct it will display a message telling you that you are not a valid user.If it is correct it is supposed to take you to the next page but it does not if you are using IE but if you are using firefox it will take you to the next page.But it works fine in the server using IE but it does not work fine from the client's system.
|
|
|
|
|
Then it may be problem with the settings of the browser in client machine. Check whether the settings in the Security & Advanced tabs of Tools-->Options of IE in server is same as with client.
Meeram395
|
|
|
|
|
Majority have the same setting.It is an app that run with more than 3,000 users.The puzzle here is why is it not having the problem with Mozilla Firefox?And you know almost everybody uses IE.
Any help will be appreciated.
|
|
|
|
|
--But it works fine in the server using IE but it does not work fine from the client's system
If it is working fine in the server using IE, it can be assumed that there is no issues in source code. Probably some firewall settings in the client system is prohibiting from proceeding to next page. Also check whether the IE explorer in the server and client has the same version .
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
How is it that it is not affecting firefox?The IE cannot be the same since this is supposed to running on about 3000 client systems.
I disabled firewall and still nothing.
|
|
|
|
|
Hi im using ajax calendar control in my asp textbox...,
After that textbox one dropdownlist box is there...,
When i am clicking the textbox the calendar control appear...,
But downside dropdown is appear before the calendar control...,
How i can visible my calendar properly...,
Any plz help me regarding that...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
New one wrote: How i can visible my calendar properly...,
set Z-index style of both controls.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi im using vs2008...,
And in that source place for asp control how u will mention syle = z-index...,
I didnt get any style mothod there...,
anyway if i give it in my td place also
its not working...,
plz give me some other solution
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
I know style tag will not appear for server control but you can give it.it will support at runtime.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Ya i given eventhough its not properly display..,
see actually what i am asking the calendar display under textbox its ok...,
After that dropdown also there...,
so if i click the textbox the calendar is appearing the same place but the dropdown is hiding the some dates of calendar control...,
i want to solve this
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
You can also take dropdownlist control upper on textbox.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Ya upside one more dropdown list is there...,
And i cant change the design format...,
Becoz they given format like that
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
hai friends
i m refreshing a page within time interval say 5 min
the code is
when the page is refreshed
how to maintain the scroll bars position
mt page is so lengthy
plz help me
thanks in advance
vijay
|
|
|
|
|
I use the following to do it __SCROLLOC is a hidden field in the form, i use this with Register script tags in .net 1.1 it should work if you wire it up correctly in the aspx. there is also a property in .net 3.5 (possibly in 2, but we skipped from 1.1 to 3.5) Page.MaintainScrollPositionOnPostBack, and Page.SmartNavigation do simliar things, except smart navigation has issues with datagrids in 1.1 hope this helps
string setScroll = "<script language="javascript"> " +
"function SetScrollLocation() { " +
"document.body.scrollTop = " + __SCROLLLOC.Value + ";}" +
"document.body.onload=SetScrollLocation;"+
"</script>";
ClientScript.RegisterStartupScript (this.GetType (), "setScroll", setScroll);
}
string saveScroll = "<script language="javascript"> " +
"function SaveScrollLocation() { " +
"document.forms[0].__SCROLLLOC.value = document.body.scrollTop;} "+
"document.body.onscroll=SaveScrollLocation;" +
"<script>";
</script></script>
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hai friends
i have a menu bar in my page
when i click on a submenu item, then i m doing some validation in code
which is written in menu1_Itemclick event
and i redirect to new page
that new page should be opened in new window
how can i do it....
thanks in advance
vijay
|
|
|
|
|
the only way i can think of right now(its still early) is to registar a script block(startup or otherwise) in your click event, that way when your page returns it runs the javascript to open the other page in a new window. i'm curious as to why you want that behavior but javascript is the only way i can think to do it, and registering the script block in the code behind lets you generate the js however you want i.e. if different values go to different pages you can change the script inthe code, and not have 3 or 4 or more different functions on the page. ClientScript has the Register methods, there are afew and they just determin when the js gets run.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi Vijay,
Try this code…
protected void Menu1_MenuItemDataBound(object sender, MenuEventArgs e)
{
e.Item.Target = "_blank";
}
Thx,
Gayani
|
|
|
|
|
|
please dont post the same unclear question 3 times in the same hour if someone knew the answer or knew what you wanted they would answer the first time.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi
I am getting the error
"RegisterForEventValidation can only be called during Render()"
i am trying to fix this by adding the line <pages enableEventValidation ="false"/> into my web.config (see below)
but i am getting
Parser Error Message: Unrecognized element 'pages'. appear
Can anyone help
<system.web>
<authentication mode="Windows" /><identity impersonate="false"/>
<pages>
<pages enableEventValidation ="false"/>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</controls>
<pages>
|
|
|
|