|
+5 for useful link..
Happy Coding...
|
|
|
|
|
Hi,
I have a web application,my requirement is like this to integrate the visual studio web Site Administration Tool to the Web application.Is It possible.Please Replay
Thanks &Regards
Lijo
|
|
|
|
|
|
Hi,
Thanks for your replay.I have one more doubt
1. Can i use mysql instead of MsSQL .
2. Instead of mssqlexpress can i use other data base like master database in mssql for user management administration.Please Replay.
Thanks&Regards
lijo
|
|
|
|
|
yes you can integrate the WSAT into your web applications. go to asp.net configuration option. there you can access the Wsat and add it to your web app
|
|
|
|
|
Guys;
As you might know, all extenders are created by calling the function $create() just on the event Sys.Application.init . And disposed by calling the function $find('componentId').dispose() ether on the event Sys.Application.unload (closing the page) or by updating the containing UpdatePanel .
My question is; in case we create the behavior(the extender) dynamically by calling the function $create() through the client script, then how to register disposing it when the UpdatePanel is updated?
Help people,so poeple can help you.
|
|
|
|
|
We can achieve that by by calling the function Sys.WebForms.PageRequestManager._registerDisposeScript(); which registers the the component on updating the parent UpdatePanel just like the code below:
Sys.WebForms.PageRequestManager.getInstance()._registerDisposeScript('parentupdatepanelid', 'var component = $find("componentid"); if (component != null)component.dispose()';
The disposing script(the second argument) is executed by the function Sys.WebForms.PageRequestManager._updatePanel which is called when an UpdatePanel is updated. (the code below)
function Sys$WebForms$PageRequestManager$_updatePanel(updatePanelElement, rendering) {
for (var updatePanelID in this._scriptDisposes) {
if (this._elementContains(updatePanelElement, document.getElementById(updatePanelID))) {
var disposeScripts = this._scriptDisposes[updatePanelID];
for (var i = 0, l = disposeScripts.length; i < l; i++) {
eval(disposeScripts[i]);
}
delete this._scriptDisposes[updatePanelID];
}
}
this._destroyTree(updatePanelElement);
updatePanelElement.innerHTML = rendering;
}
I added the if statement to the disposing script because the component can be disposed before the UpdatePanel is updated so the function $find() would return a null and we would have a Null Reference Exception.
So what about the behaviors that is created after ExtenderControls on the Page that have disposing scripts of '$find("componentid").dispose();' ?
Help people,so poeple can help you.
modified 11-May-12 10:33am.
|
|
|
|
|
HI
I want:(Below)
Redirect to login page when i dont touch the page. (After Session time out).
I dont want like this:(Below)
Not to refresh the page or set a timer in javascript.
Regards,
Shirish Manda
|
|
|
|
|
Sir;
you can add an if statement to the function that handles the load event of the page checking if the session is null and redirecting to the logging page. Just like the code below;
if (Session["UserName"] == null) Response.Redirect("~/loggingpage.aspx");
Help people,so poeple can help you.
|
|
|
|
|
If this is written in Page Load event. It fires only when page is loaded. It does'nt fires (Page Load Event) when session timeout.
Regards,
Shirish . M
|
|
|
|
|
Sir;
I use it all the time and it works.
Help people,so poeple can help you.
|
|
|
|
|
Every Time The Page Loads, check for any Session Variable You Set At The Time Of Login IS NOT NULL.. If It Is NULL, Then Redirect To The Login Page Else Complete The Request.
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
|
Can u please elaborate your question
|
|
|
|
|
When I am testing a web form application 2010 using a custom server (where the url address is 'https:/ip address of my workstation/virtual directory), I get the error message: 'System.InvalidOperationException: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine'.
**Note the custom web server is IIS7 that is running on my workstation.
Basically I am trying to have my workstation act like the production iis server. The problem is the production server has 32bit and 64 bit versions of excel installed on it.
However on my workstation, I have a 32 bit version of excel 2007. (The web application takes the data from the excel spreadsheets and loads the data into the database.)
From what I have seen on the internet, having both a 32 bit and 64 bit version of excel on the same computer has problems. Thus can you tell me what you would suggest I try to solve this probloem?
|
|
|
|
|
Office most of the time creates problem when you work on different environment so I would suggest use Open XML for office use. No office installation required on at least server environment.
Parwej Ahamad
|
|
|
|
|
xcan you give me an explaination of what open xml is used for?
|
|
|
|
|
As per my understanding, you are accessing Excel file through your Asp.Net application. If correct then go for Open XML http://openxmldeveloper.org/[^]
Parwej Ahamad
|
|
|
|
|
sc steinhayse wrote: 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine'.
Please read that error message again.
What does it mean?
A COM component is required.
It is called 'Microsoft.ACE.OLEDB.12.0' provider.
It is not registered (i.e. likely not installed) on the local machine.
So: what's the next step?
Install the oledb components on that computer!
For more information on doing that, read http://www.codeproject.com/Messages/4231330/More-Of-A-Tip-Than-A-Question.aspx[^].
|
|
|
|
|
How can i get a video article for "Create User Wizard" in C#..?
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
|
I want to add a multiple attachment control in my site. Only 1 attachment can be added at a time. When user clicks on "Add Another Attachment" link, he is able to add another attachment & so on, just like gmail. Please help me accordingly.
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|