|
I was developing an application using Ajax.net from Microsoft. Testing on my machine went well, so I uploaded it to our server (its a shared server, so only ftp access). Now I know the web host has not installed this component on the server I am using - but when I tried to access the page I created, it fell over as it was missing the files from the install. I then added these to be included in my build and uploaded again. Now the page works - but with no Ajax features, it keeps refreshing as normal. When loading the page, it does report a javascript error that its missing something (I cant remember the name right now - and being at work now I am not able to check this either).
Anyway, my question is if it should be possible to run Ajax.net on a remote server in this way, or if they would have to install this.
Thanks
|
|
|
|
|
You should be able to get away with putting the atlas dll in the bin folder. You will then need to look in the web.config for any references to this dll as they will be requesting it from the GAC (a machine independent resource for dlls). Obviously it wont reside in your hosted pcs GAC so should go looking in the BIN and find it there. Seems to work for me
|
|
|
|
|
Hi, thanks for your reply.
I have looked in the web.config now, but cant see what I would need to change. Do I need to do something to tell it to look in the bin folder?
By the way, the javascript error message I am getting is: 'Sys' is undefined
|
|
|
|
|
Yeah i would guess the error is caused by not having the Javascript rendered due to the lack of the dll that contains it all. Take a look in the Assemlies section of the web.config file for a reference to System.Web.Atlas or something along those lines. I don't know for sure because I dont have them in any of mine
|
|
|
|
|
I am trying (and failing miserably) to access a button in the custom navigation section of a custom template step on a wizard control.
I need to set its validation group - however, the code fails when trying to find the control. Here's the code I am trying to use:
Button Test1NextButton = (Button)Test1.ContentTemplateContainer.FindControl("Test1NextButton");
Test1NextButton.ValidationGroup = "1" + NewValidationGroupNumber.ToString();
Can anyone tell me what I am doing wrong ?
|
|
|
|
|
i have a folder that shall NOT be allowed to be accessed directly. that shall be accessed only through my ASP.NET application.
please tell me how can i do that.
thanks
|
|
|
|
|
|
Hi,
I am creating an application on ASP.NET 2.0 & i want to upload mutliple pics on that. I have included around 10 uploader with the same Ids like:
uplfile1
uplfile2
uplfile3
.
.
.
.
.
uplfile10
Now in code I want to perform some action from these controls. I am using a for loop till count that represents how mnay controls are visible. I want to access uplfile1 from loop value.
LIKE:
for(int i=0;i
|
|
|
|
|
IMO, try with FindControl(...) method
<< >>
|
|
|
|
|
Hi
I have a need to change the schema of all table in a database with sql server 2000.
i use following query to change the schema of all table using following query
use [databasename]
exec sp_MSforeachtable "ALTER SCHEMA new_schema TRANSFER ? PRINT '? modified' "
but its works only in the sql server 2005. i have need to change it in sql server 2000.
Thanks in advance...
Regards,
Sri..
|
|
|
|
|
how to explore ADS (Active Directory Service) to access group and its priviliges.
thanks in advance.
|
|
|
|
|
try using LDAP authentication. refer google for LDAP source.
|
|
|
|
|
can you please help me out with the coding.
thanks
|
|
|
|
|
|
I have a web page which have some fildes in which i fill the data that show on datagrind i want to send request to printer that print the data from database table on Pressing button. with out showing print dialog .Plz help me
suhail shahab
|
|
|
|
|
i have written javascript to call the button click event. but the statement
var butt1 = document.getElementById(buttonname);
returns null .
i have also checked its id. i have written this statement to pass its id.
drcountryname.Attributes.Add("onKeyPress", "doClick('" + btndrsrc.ClientID + "',event)")
so the id is also passed correctly.
i cann't figure what is the problem.
i have used master-content page and the button is in content page.
ronak
|
|
|
|
|
hi,
try "OnClientClick" property of button control to specify java script function at design time.
<asp:button OnClientClick="doClick('pram1','param2');"/>
Sherin Iranimose
|
|
|
|
|
Hey i think u need to pass it using quotes..
var butt1 = document.getElementById('buttonname');
Try this out...
Koushik
|
|
|
|
|
the way to check this is that you view the html code of the button generated at client side...
<< >>
|
|
|
|
|
Hi all,
i ned to maintain session and i need to get the session id and i have to keep in a table .I dont have any idea about sessions plz give me code for how to creatw a session .
Suresh.R
|
|
|
|
|
Session : Course of visit to a particular website
When a user starts visiting the site the session will start.
In the course of visit we can store states in session variables like
Session["LoginTime"] = DateTime.Now();
...... like this we can use many session variable to maintaning the state.
Session.SessionId is the unique id to refer a particular user visits.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
hi,
i have an application in which there are two hyperlink controls. In both properties text is underlined. If clicked on one, the clicked one shouldn't be underlined. Same thing should happen for the click of other hyperlink. How to do this?
|
|
|
|
|
You need to use style sheet for this purpose. Some what similer to..
a:visited{
text-decoration:none;
}
a:visited{
text-decoration:underline;
}
Lets work it Out.........!
|
|
|
|
|
please explain...me new to web applications..
In Html code it in a column as below:
<asp:hyperlink id="hlinkArchive" runat="server" height="19px" navigateurl="~/frmDailyStats.aspx" target="_self" style="z-index: 100;
left: 617px; position: absolute; top: 32px" width="101px" font-underline="True">Archive Transfer
Now where i put that code which you sent...kindly explain..
Thanks
|
|
|
|
|