|
You can access the session variables in the current context using HttpContext.Current.Session .
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hello i am using ajaxToolkit:ModalPopupExtender in my site to display some detail its working very well on my local pc(localhost) but when i uploaded the site on server...its throwing javascript error ajaxControlToolkit is undefined and modelpopupextender is not getting displayed..i am trying to solve it from yesterday but the problem is still same.
I copied all the dll in bin folder and also included
<![CDATA[<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>]]> on top of page....and
<atlas:scriptmanager id="scriptmanager" runat="server" scriptmode="Release" scriptpath="./Script" enablepartialrendering="true" xmlns:atlas="#unknown">
<scripts>
<atlas:scriptreference assembly="AjaxControlToolkit" name="AjaxControlToolkit.Common.Common.js" />
<atlas:scriptreference name="AjaxControlToolkit.ModalPopup.ModalPopupBehavior.js" assembly="AjaxControlToolkit" />
</scripts>
</atlas:scriptmanager> in my master page
please tell me how to solve this problem...
|
|
|
|
|
Neetu Maheshwari wrote: ajaxControlToolkit is undefined
OK, so perhaps it needs to be in the GAC or something ? Have you tried just installing the MSI instead of copying the dlls ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
but how can i install MSI on server as i told you its working properly on localhost but throwing this error on server...so please give an alternate solution....
|
|
|
|
|
Neetu Maheshwari wrote: but how can i install MSI on server
It's a computer, isn't it ?
Neetu Maheshwari wrote: as i told you its working properly on localhost but throwing this error on server
Yes, so I assume that you installed the library on your local host, but you seem to say you only copied the files onto the server.
Neetu Maheshwari wrote: so please give an alternate solution....
Prayer ? Change of career ? Write your own AJAX code ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: Prayer ? Change of career ? Write your own AJAX code ?
yeah i was expecting the same answer from you
Christian Graus wrote: Mr. Christian Graus
Thanxxxxxxxxxx
|
|
|
|
|
iam working on one web application i have this error when i go from one page to other
Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Sys._Application' cannot be converted to type 'Sys._Application'.
Parameter name: instance
plz give me solution for this why this is coming
iam using .net 3.5,ajax.
|
|
|
|
|
Probably because you're using a nested framework of libraries designed to help lazy people by generating all their javascript for them, so when something goes wrong, it's because you've used something in the wrong way, and it's a long way from obvious what it is that you've done wrong.
Most likely cause is an operator = is not defined, and so an object cannot be copied. But that's my C++ thinking, I have no idea why js would throw that error.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hai,
currently i m using asp.net with c# (.net 2005, 2.0 framework)
i have applied a stylesheet properties to all pages.
when user click the save button, i display a confirmation message box. but when that message box prompts and i click ok, the page font size, textbox size, menu size (menu control) and all the controls size getting big & Bold..
how to avoid this
help me - KARAN
|
|
|
|
|
|
here it changes the font sizes when i click the button and also a CHILD window popup'ing.....
|
|
|
|
|
Just guessing, have you enabled smart navigation in your page.
Try disabling it.
When you fail to plan, you are planning to fail.
|
|
|
|
|
It's plainly a bug in your css. So, you need to post your css if you can't work it out. I'd just cut the CSS file in half over and over until it stop happening and narrow down on what causes it that way.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes I need css code.
like this code in ur code also poblem
a
{
color:pink;
}
a:hovel
{
color:red;
}
a:visited
{
color:yellow;
}
U can understand this code.
Normal hyperlink text color:pink
Mouse over hyperlink text color:red
after click hyperlink text color:yellow
so better to check once again ur css code properly and also HTML code.
Ananda
|
|
|
|
|
Hii..whenever i try to export the datagrid on my asp.net page to excel,
the excel sheet opens but with no data in it !
why is this so? am using visual studio 2005 and MS Office XP.
am terribly confused..can someone pls help me with this?..thanks in advance..
Microsoft.Office.Tools.Excel is what i have included..
here is my code..
Response.Clear();
string filename2 = TextBox4.Text;
Response.AddHeader("content-disposition", "attachment;filename=" + filename2 + ".xls");
Response.Charset = "";
Page.EnableViewState = false;
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter stringWriter = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmwrite = new HtmlTextWriter(stringWriter);
DataGrid2.RenderControl(htmwrite);
Response.Write(stringWriter.ToString());
Response.End();
|
|
|
|
|
Attach the below coding in your coding page and try.....
public override void VerifyRenderingInServerForm(Control control)
{
}
|
|
|
|
|
HTML is not a valid format for Excel. You're not using the Excel namespace, it doesn't matter that you included it.
Anu787 wrote: string filename2 = TextBox4.Text;
Why are you using such useless variable names ? Are you trying to make your code unreadable ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hai,
currently i m using asp.net with c# (.net 2005, 2.0 framework)
here i placed a MENU control and added some menu and sub-menus(upto 5 level).
While user clicks any sub-menu link, i would like to do some sort of codings......
how to write coding for a particular item_Click???
help me - KARAN
|
|
|
|
|
HAI ALL
i am usring gridview for some details printing
whn i click on one row model pop should open
how to perform this
pls help me soon
|
|
|
|
|
You'd generally do this with a link to a page that has an id or something in the querystring so it can load specific data. In this case, I assume you're creating a floating div, so you'd call javascript that does something similar.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
when any field in toolbox just drag and drop in panel ..so at that time the field enable 2 move anywhere like constant ... i m using .net2003 plzz wht is option should take .. i know in .net 2005 .. there is a absolute option ..but wht is the option in 2003..
thanks 2 all..
|
|
|
|
|
hi guys can ne1 plzz tell me how to create a code for asynchronous messaging using MQ. for send/rescive and Publisher/Subscriber applications. send me the project or code for the same its very very urgent i hv to gv today evening....
thanks in advance
|
|
|
|
|
anurag_dusaj wrote: its very very urgent i hv to gv today evening....
Sounds like you should have asked earlier then. The only way to do anything asyncronously with ASP.NET is with AJAX. Otherwise, it's a postback and get static page situation. What's MQ ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
anurag_dusaj wrote: ne1
anurag_dusaj wrote: hv to gv
I really don't understand 100% your question.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
He's probably 12 years old. He's using txt speak.
And, as always, someone posts 'this is REALLY urgent', then ignores all replies.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|