|
There is this new thing people have been talking about, maybe you've heard of it; Ajax?
only two letters away from being an asset
|
|
|
|
|
Yes, sure I did. I am using some basic AJAX on my pages to prevent refreshing of the whole page.
But I don't know how to solve this problem I mentioned.
Can you please direct me to the right way?
Thanks.
|
|
|
|
|
You are using an Ajax enabled control, most likely the UpdatePanel. However, Ajax is more than jest a set of controls and can be used for client-server communication.
Start
here[^]
only two letters away from being an asset
|
|
|
|
|
Should I visit the town of Ajax as well? In the google search I found that too.
Just kidding - thanks.
|
|
|
|
|
window.opener.parentfunction(parametors to send)
i think it will help you where parent function is written in javascript of parent page from where popup is open.
umerumerumer
|
|
|
|
|
Hi!
My application is installed in an intranet, in the same domain from which i do the request with a client pc.
In the IIS(6.0) I disabled anonymous access, and i check Windows Integrated Authentication.
In the web.config I set
authentication mode="Windows"
authorization -> allow users="*"
This seems to be correct, but whenI try to access to the web application the credential prompt appear.
Now, How can i disable this prompt?
I read a lot of documentation in Internet, and i see that a possible solution is to set the option security of IE ( custom level -> user authentication -> anonymous log only ith user name and password ), but also this doesn't work.
Can someone help me?
Thank you in advance.
Alberto
|
|
|
|
|
cruscotto wrote: read a lot of documentation in Internet, and i see that a possible solution is to set the option security of IE ( custom level -> user authentication ->
after done this do you restart the browser ?
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
cruscotto wrote: option security of IE ( custom level -> user authentication ->
Then select "Automatic Logon only in Intranet Zone".
and
cruscotto wrote: authorization -> allow users="*"
is not required...
|
|
|
|
|
what is mean by asp? asp funtions?
|
|
|
|
|
|
|
gmPhil wrote: JFGI[^]
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
logu070 wrote: asp
A type of snake, no?
|
|
|
|
|
what is google ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am getting this error
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'
my site is on the server, so i guess, i need to remove the 'dbo.' from 'dbo.aspnet_CheckSchemaVersion'.
But i m not able to locate this.
I am getting this error, when i am attempting to login ( same error on registration page ).
All other pages are working fine.
Please help me out of this.
Apurv
A man is but the product of his thoughts. What he thinks, he becomes.
.......Mahatma Gandhi
Be the change you want to see in the world.
.......Mahatma Gandhi
|
|
|
|
|
apr ~ asp wrote: I am getting this error
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'
I believe you are using Membership or Profile in asp.net . Did you register your SQL server for that ?
Please run aspnet_regsql from your command prompt and choose the database you are using. Then Again run the application .
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Thanx for ur reply ....
i already did that ...
My site works perfectly for local database, for remote database, i guess dbo. extension has to be removed.
I removed the dbo. extension for other table adapters from the xsd file of the dataset.
Apurv
A man is but the product of his thoughts. What he thinks, he becomes.
.......Mahatma Gandhi
Be the change you want to see in the world.
.......Mahatma Gandhi
|
|
|
|
|
apr ~ asp wrote: guess dbo. extension has to be removed.
I removed the dbo. extension for other table adapters from the xsd file of the dataset.
then , is it working now ?
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
everything is working fine, except the membership framework.
i m not able to locate
dbo.aspnet_CheckSchemaVersion
to remove "dbo."
Apurv
A man is but the product of his thoughts. What he thinks, he becomes.
.......Mahatma Gandhi
Be the change you want to see in the world.
.......Mahatma Gandhi
|
|
|
|
|
Hi to All,
I am working on an internal web application. For this I am using ASP.NET 3.5, WCF for web service. WCF is handling all the database related work. I am using windows authentication for this application. In one machine I am hosting my web service by desktop application and Database server is different machine. I am using SQL server 2005 as database server.
After deploying the web application on IIS when I am accessing the database through web service, I cannot get the request login name in Database profiler. I am just getting the login name of user where I'm hosting the web service.
Thanks
Navi
|
|
|
|
|
Hi all
im trying to write a file to a database(stored as image), my program works fine in debug mode, and my file name is c:\\Test\\Test.jpg(contained in tboPath.Text)
When i run the application as an actual webpage from the server i get the error message "c:TestTest.jpg file name not found", even though the file is there. does anyone know whats causing this.
SqlParameter imgLogo = new SqlParameter("@LogoImage", SqlDbType.Image);
imgLogo.Direction = ParameterDirection.Input;
if (tboPath.Text != "")
{
imgLogo.Value = File.ReadAllBytes(tboPath.Text);
SqlCmd.Parameters.Add(imgLogo);
CheckImageExist(strFileName);
}
Thank you
|
|
|
|
|
omlac wrote: i get the error message "c:TestTest.jpg file name not found
Did you mean to forget the slashes, or was that exactly what the error message said?
Also remember that on the server the web application runs on the server. If this directory exists on the client (the machine your browser is on) then the web application cannot access it.
|
|
|
|
|
Thank you very much for your response.
1. There is no such folder on the server, but im getting the file from my machine(the one im running from).
Would you know how im must write the path so that its read even if im not running in debug.
2.im using javascript to display error messages so thats why c:testtest.pgn- at first i was thinking running on the server removes the backslashes.
Thank you very much.
|
|
|
|
|
Hi all,
I have a problem in java script...
in asp.net i have a repeater.. in that repeater i have some controls and a dropdownlist.... i am showing message if user select 0 index...
function OnChangeDropDown( DropDown, DivError )
{
alert (DropDown);
alert (DivError);
var DivError1 = document.getElementById( DivError )
if ( DropDown.value == "0" )
{
DivError1.style.display = '';
DropDown.focus();
return false;
}
else
{
DivError1.style.display = 'none';
return false;
}
}
***********************
Repeater Code :
<asp:repeater id="repStudentPromotion" runat="server" xmlns:asp="#unknown">
<headertemplate>
<itemtemplate>
*********************************************************************
Calling Style in CS File:
foreach (RepeaterItem row in repStudentPromotion.Items)
{
DropDownList ddlStatus = (DropDownList)row.FindControl("ddlStatus");
HtmlGenericControl DivError = (HtmlGenericControl)row.FindControl("DivError");
ddlStatus.Attributes.Add("onchange", "return OnChangeDropDown(this,'" + DivError.ClientID + "')");
}
i want to add this attribute in aspx file as
onchange="return OnChangeDropDown(this,<%$ DivError.ClientID %> )"
*******************************************************************************
but there is a error in second parameter....
my question is how to pass controlID in javascript as a parameter instead of 'this'
waiting for reply...
Hope For The Best............
anudeep jaiswal
09891599687
Noida - India
|
|
|
|
|
Format the post to make it more readable. Use the preview button to check it before posting.
Have you tried this.id; OnChangeDropDown(this.Id...)
only two letters away from being an asset
|
|
|
|