Hi,
I'm writing some logging code that is based on SessionID...
However, when I log out (calling Session.Abandon), and log in once again, SessionID is still the same. Basically every browser on my PC has it's own session id "attached", and it won't change for some reason :/
Any ideas what is going on?
My Session config looks like thi...
Hi.
I need to get a UserControl VirtualPath programmatically. How can I do it?
For example, MyControl.ascx placed in Controls folder, so the result should be "~/Controls/MyControl.ascx".
Is it possible?
Thank you.
...
I am designing an user control in ASCX similar to which is shown in the link below http://easylistbox.com/demoMultiDropDown.aspx
I am using textbox with Div around and image for arrow and a listbox group control for multiselect option and wrote a javascripts to show and hide the listbox when onclick of image arrow
I could achieve everyt...
I want to implement a shopping basket.
I created a shopping basket class, and included all the functions inside it that basket will need.
It works OK, but on every content page I need the lines:
Basket myBasket = new Basket();
myBasket.drawBasket();
Is there anyway to get that code to execute on every page without having to manually...
So, I'm using gadgets.io.makeRequest(url, callback, params) to make requests from Gmail contextual gadget and verifying these requests on the server side.
To clarify, I'm using the following makeRequest params on the gadget side:
params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.DOM;
params[gadgets.io.RequestP...
Is it possible to assign a Master Page dynamically?
...
hi guys,
What are class relations.Can anybody help to explain relation between a content page and master page in terms of OOP?
...
Hello
I'm not able to get my panel popup using ModalPopupExtender.
Here's the code
.modalBackground
{
background-color:#CCCCFF;
filter:alpha(opacity=40);
display:none;
opacity:0.5;
}
.ModalWindow
{
border: solid1px#c0c0c0;
background:#f0f0f0;
padding: 0px 10px 10px 10px;
position:absolute;
top:-1000px;
left:-1000;
}...
In grid view I want to sort the particular column. For that we have to access that column
How to do this??
...
Hi, I was wondering if it was possible to call a javascript after the button click has done its thing in asp.net 3.5
I have a script manager in master page and a button in the content page. The button just populates some repeater in a div with some data and I am setting the div's visibile=true in codebehind (the div is runat=server)
th...
I have two .NET websites, which is setup to share sessions in-between via SQL db.
The website stores and retrieves session as using session("MY_Session").add and Session("MY_Session"). What gets stored is basically a custom class with their username and name.
The parent website is setup in IIS using DefaultAppPool and then the seconda...
Not getting updates in MVC View following a post method
Hi,
Here's my controller code:
public ActionResult Search()
{
ForecastManagementViewModel viewModel = new ForecastManagementViewModel();
viewModel.JobDate = System.DateTime.Now;
return View(viewModel);
}
[HttpPost]
public ActionResult Search(ForecastManagementViewMo...
I want to use a multiline label but as the control is brouser dependent,even on setting the height width and wrap property of the label control i am unable to display a multiline text...It doesn't support every brouser in the same way...
Can anyone help me out
...
Hey I have the follow email validation expression
^[\w-.]+@([\w-]+.)+[\w-]{2,4}$
What I am looking for is for email addresses to be allowed which have a "+" before the @ part of the email cheers
...
i want to read ID3 tag of mp3 file(author,track name etc)in asp.net 2.0 with c#. when i am running on local pc then it work properly when upload on server then show error cant load modul WMVCore.dll open link
http://iphoneapplicationsonline.com/
my hosting on windows server 2008, plz solve my problem it very urgent
code...
i am using...
I have two webmethod i have used session variable to exchange the username variable between two webmethods but its displaying null in second webmethod ,can we use cookie as alternate to session to store and retrieve username
[WebMethod(EnableSession = true)]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public bool Submi...
I wont to create a print preview asp.net web page.
Can any one help me with an example how these should be done?
Thanx. :)
...
Is it possible to invoke an action on asp.net mvc controller programmatically from a classic webforms page that is not handled by MVC but running in the same web application?
We have a mixed asp.net web application: webforms for page rendering and mvc for ajax calls.
But we want to render some MVC views from webform page on the server v...
Based on this post http://stackoverflow.com/questions/2257808/error-calling-a-wcf-rest-service-using-json-length-quota-8192-exceeded
I experienced the same problem when calling my WCF REST Service (hosted on IIS 7) from a console application (using Microsoft.HttpClient library). I have increased the maxStringContentLength="2147483647" o...
Hi All,
I have two textboxes with autocomplete extender. Problem is that when i enter some new text in textbox but it save previous value.
I am fetching id from database to datatable according textbox's value then pass datatable's first row's first column as a parameter to store procedure.
...