|
iam using update progresss control. iam having the controls contentplaceholder and literal control.
whenever my page load i put
system.threading.thread.sleep(10000).
but its not showing LOADING message . update progress control is not working.
how to resolve?
|
|
|
|
|
I thought that the loading message only works if the page takes a while to load.
Is your page loading quickly?
|
|
|
|
|
in page load , i put sleep to 30 seconds.that time also not showing update progress control message.
|
|
|
|
|
Can you post all of your code please?
|
|
|
|
|
]]>
]]>
]]>
<asp:content id="Content1" contentplaceholderid="cphmain" runat="Server" xmlns:asp="#unknown">
<asp:scriptmanager id="ScriptManager1" runat="server" enablepartialrendering="true">
<asp:updatepanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:updateprogress id="UpdateProgress1" runat="server" associatedupdatepanelid="UpdatePanel1">
<progresstemplate> Processing........
<asp:literal id="ltrAudioPlayer" runat="server"> |
<asp:literal id="ltrPageContent" runat="server">
|
IN THE PAGE LOAD I PUT THREAD.SLEEP(10000).NOT WORKING.
|
|
|
|
|
|
Hi,
I want to call a JScript File method. Is there any way through which I can call it using "Page.RegisterClientScriptBlock Method". The method residing in JScript.js file.
Please give me a solution.
d'kng
|
|
|
|
|
Yes, you should be able to do so.
Just pass the entire script in this method itself.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi friends,
I have learnt to use mock objects with hot coded value and have written test cases to check them and they are working fine. But i am in need to use these mock objects to use the Db Structure and retrive values.So will there to be need to create a new test DB in my test case and use it. Iam not clear of what to do please explain me in detail.
Thanks in Advance,
Praveen
|
|
|
|
|
Good Morning Everybody,
i done one web project using ms visual studio 2005. in this project i am uing crystal report with ODBC Connection & crystalreportviewer.
when i run the the report it's working fine.
i want to use sub report,so i insert sub report & give the link to this report. the subreport are working fine, but taking long time to load the report minimun 5 to 7 min. if i click print or next page the same time taking again & again.
i want to reduce the loding time.
Any one can help me.
Thank you,
Azfar.
|
|
|
|
|
How many pages is the report?
It could be you are generating a report which contains a lot of data and takes time querying the database
|
|
|
|
|
hi every one
i am using fileupload control in usercontrol ant set the property for fileupload control .by this way;
public string pic
{
get
{
return cchildpic.FileName;
}
}
now i am taking usercontrol at page 2 .and user submit the picture by using fileupload control which is in usercontrol .
now
if (Convert.ToInt32(Session["child"]) <= 4)
{
Session["b"] = ctcchild1.nameofthedauson;
Session["c"] = ctcchild1.dateofissue;
Session["h"] = ctcchild1.placeofissue;
Session["d"] = ctcchild1.dateofexpiry;
Session["e"] = ctcchild1.dateofbirth;
Session["f"] = ctcchild1.seat;
Session["g"] = ctcchild1.meal;
str3 = "C:/uploads/" + ctcchild1.pic;
}
and i am using this condition at page 2 .but when i am submitting the file name in database at the same page .
con = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=c:/image.mdb;");
string ss1 = "INSERT INTO picture1 VALUES('" + str3 + "')";
com = new OleDbCommand(ss1);
com.Connection = con;
con.Open();
com.ExecuteNonQuery();
con.Close();
one blank submit in a row and in naxt line the the correct path store .why this blank submit in data base .
if any one have idea .what is going on.
i am also confuse about these points :
am i using correct property for filecontrol
thanks .....
gaurav
|
|
|
|
|
Hi guys
I have an issue regrading displaying chinese character in text box. I face the problem before using the datagrid. However once i set the HtmlEncoder = false in the column property, the chinese character can be show . Now Textbox doesn't have the property of HtmlEncoder to set to false
So how am i going to resolve this issue
Please advise
Thanks
KaKaShi HaTaKe
|
|
|
|
|
Hello everyone,
I am facing this problem lately, I will explain. I have this asp.net 2.0 application which needs to access data from the WindowsPrincipal user over an intranet. This is usually as easy as Dim name as string = HttpContext.Current.User.Name . Thing is, in the environment where the application is working, all computers have had the "Enable Windows Integrated Authentication" disabled.
So my question is, is there any way that I can access Windows/Active Directory user information without using Windows Integrated Authenticaton?
Thank you !
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
|
|
|
|
|
Hello everybody
I have created a Web application to show report in crystal report viewer.
I deployed it on server. when I click on export button in crystalreport viewer then it exports to excel successfully. But when I Export to excel on server it comes out from application.
What's wrong .
Can anybody help me ? Pls
Thanks and regards
Raghav
Raghvendra Kumar Roy
|
|
|
|
|
Raghvendra Kumar Roy wrote: it comes out from application.
What do you mean?
|
|
|
|
|
We are thinking about implementing a Reverse proxy setup on our network with our asp.net application so that another company can access our app through our DMZ. Right now we are using AD to authenicate our users internally.
In order to implement this from a coding stand point what needs to be done?
Our address for the app is using http://servername since its internal do I need to have a registered domain name now if we go with Reverse Proxy?
Once an external user hits our app and they are in our AD tree, what options do I have for logging them in? I would think that they would be prompted for a login and password if not recognized by IIS?
How can I set it up that the external user doesn't have to be bothered with a login, if possible?
What would be the quick and dirty way of getting these external users logged into app?
DNM
|
|
|
|
|
I'm using a custom web control, but every time I compile, the code behind class seems to lose the control. If I type 'this.', the Intellisense brings up the member, and if I try to declare it I get told it is already declared. I'm sure this is some king of caching problem, but nothing I try seems to work.
|
|
|
|
|
Brady Kelly wrote: I'm using a custom web control, but every time I compile, the code behind class seems to lose the control.
I don't understand the problem... How does it "seem" to "lose" the control?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
It tells me that the form does not contain a declaration for the control. I then remove the control, compile, and add the control again, compile, and it sees it, until I break the build somewhere else, then when I try and compile again, it tells me it's not declared.
|
|
|
|
|
Hello,
I developed a small application in Asp.Net to send a mail...
i wrote
SmtpMail.SmtpServer = "localhost";
when am trying to send a mail my program is executing and i am getting result your mail sent successfully...
But the mail is not sending,...
Mainly my problem is,What i have to use smtpserver.....
This is the code am writing totally
MailMessage objEmail = new MailMessage();
objEmail.To = txtTo.Text;
objEmail.From = txtFrom.Text;
objEmail.Subject = "Test";
objEmail.Body = txtName.Text + ", " +txtComments.Text;
objEmail.Priority = MailPriority.High;
objEmail.BodyFormat = MailFormat.Html;
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(objEmail);
Response.Write("Your Email has been sent sucessfully - Thank You");
Pinna
|
|
|
|
|
Do you have SMTP server running on "localhost" ?
|
|
|
|
|
Hi,
An SMTP server is a computer that receives outgoing mail messages from users and routes them to their intended recipients. So I would like to know whether the mechine that you are working now, does it fall to this category? If not find out the mail server IP Address/Name and use it instead.
Thx,
Gayani
|
|
|
|
|
Don`t worry... Its ust a security constraint.You mail won`t be sent,but stored in the "C:\Inetpub\mailroot\Queue" folder. Once you deploy ur application on production server, just change the settings from localhost to your smtp server.
|
|
|
|
|
when i place a calendarPopup control into updatepanel it doesn't work
|
|
|
|