|
Basically, when a web page is processed, the application will get through a couple of events starting with the BeginRequest, AuthenticateRequest, PostAuthenticateRequest ..... For example when you first access a restricted web page, say Home.aspx, you can see that these two events occur, and because you are not logged on yet you will redirected to the Login page, and as a result of this the two events get fired again. And then if in the Login page there are a couple of links requesting for the resources at the server side and they are handled by the ASP.NET engine like the WebResource.axd, you'll see that these events again occurs. For more information on the events of the Application, you can see the HttpApplication[^]
|
|
|
|
|
i´m trying to programm a simple chat room with asp.net 1.1 and VB (with code behind).
I´ve searched for samples but there was no good one putting in my project, which already exists.
Someone have a sample with instructions to install?
It´s only for private use so i´m searching "freeware".
thangs fpr answering and sorry for bad english
Chrissi
|
|
|
|
|
|
Hi,
I have created a DotNetNuke website and I want to host it on my Windows Server 2003. I have given a public IP address to my server and setup asp.net applications on the IIS (version 6).
I can access the DNN website locally from my machine but I cant access some pages from another machine using the IP address. I can access the html pages or images from another machine but I cant view the .aspx pages. I think the pages that are linked to the database cannot be viewed.
I would really appreciate if someone can help me with setting up a DNN website on my web hosting server.
Thanks.
Karan
|
|
|
|
|
I am extending the gridview control and override Render method. For some reason, i have to call 'HeaderRow.RenderControl(buffer)', 'FooterRow.RenderControl ()', and blah blah .. The problem is all the skin setting is not rendered by these methods ... Why ????
|
|
|
|
|
How can i convert word document to pdf in vb.net
Mansoor
|
|
|
|
|
im new in asp.net and c#, and i have a web project where in one page i made a form with textboxes e.t.c. to insert data in the datasource, and i use also dropdowh lists from which i can select data.But if the data i want is not included in the dropdown list i click on a button to open a new window where i have another form to insert data to the table from which the drop downlist takes it's contents.The problem is that after i insert sth and i close the window and return to the previous page i have to refresh that page to see in the dropdownlist what i had insert and i loose everything else i had writen in the textboxes e.t.c..
Is there anything i can do ?????
Thanks
galatia
|
|
|
|
|
You can use child pop up window to do the task and on closing of the child window you can refresh the parent page. Check the viewstate if you are loosing the data in the postbacks.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
How could I count the number of guests on my website like in the following website:
http://www.sadeveloper.net[^]
I dont think they have used Session_end and Session_start because this method doesn't give a precise result?
I am too late but i will never give up
|
|
|
|
|
|
Do you know how to build a message board web site?
How to start?If you have an example of a forum web site,you could send this example or message about this example.
If you send any message about forum,I will be very happy.
|
|
|
|
|
|
Hi, im simply trying to set autopostback=true on an asp dropdownlist.
this works until i place a button on the form, now the autopostback will not fire
and a javascript error gets thrown "object doesnt support property or method"
any ideas?
|
|
|
|
|
this works fine for me
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Button1" runat="server" Text="Button" />
</form>
</body>
</html>
regs,
g00fy
-- modified at 9:05 Sunday 13th August, 2006
|
|
|
|
|
thanks for the reply goofy, found out what it was.
I initially added the button through vs2005 which, set the id of the button to "submit", which interfered with the autopostback code
|
|
|
|
|
plz help me to invoke the OnTextChanged event to the TextBox placed in the footer template of the grid.On changing the TextBox text property the corresponding data matching the to the text should be displayed it the adjacent rows ..
plz somebody help to goforward in my project
ashok kumar.y
plz help me to invoke the OnTextChanged event to the TextBox placed in the footer template of the grid.On changing the TextBox text property the corresponding data matching the to the text should be displayed it the adjacent rows ..
plz somebody help to goforward in my project
ashok kumar.y
plz help me to invoke the OnTextChanged event to the TextBox placed in the footer template of the grid.On changing the TextBox text property the corresponding data matching the to the text should be displayed it the adjacent rows ..
plz somebody help to goforward in my project
ashok kumar.y
|
|
|
|
|
You want to do it on server side or client side?
BTW by writing the question three times doesn't ensure that the question will be answered early.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I have built a web application using Deklarit objects as the Data Abstraction Layer. It works fine on development server but when I upload to my shared host I get SecurityExceptions like the following:
[SecurityException: That assembly does not allow partially trusted callers.]
Deklarit.Data.DataStore.GetReadWriteConnection() +0
Deklarit.Data.DataStore.GetReadWriteConnection(IDbTransaction currentTransaction) +96
WebShopData.DownloadDataAdapter.Update(DataSet dataSet) +69
brokers.DownloadAdmin.AddDownload(String DownloadName, FileUpload Upload, String DownloadDescription) +246
admin_downloads_AddEditDownload.AddButton_Click(Object sender, EventArgs e) +294
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.admin_downloads_addeditdownload_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Which assembly is it talking about, DeklaritLibrary.dll , WebShopData.dll or the Enterprise Library dll's?
I have strong named my Deklarit generated assembly and added the AllowPartiallyTrustedCallers attribute to the assembly. The problem only occurs on write to the database, read connection is working fine.
For those not familiar, I am using Deklarit 4.0 and the generated assembly uses Micrososft Enterperise Library which I have also recompiled with the AllowPartiallyTrustedCallers attribute on the Microsoft.Practices.EnterpriseLibrary.Common.dll , Microsoft.Practices.EnterpriseLibrary.Configuration.dll & Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll . The host is a shared host and they do not support full trust and I cannot override this setting in web.config.
I have trawled Google and almost everywhere else and I cannot find a simple explanation of how to overcome this problem.
Can anyone please help, it is driving me nuts and consuming alot of time to get nowhere?
Kind regards,
Maurice Moore
|
|
|
|
|
Hi~~~~~,everyone:
I want to let a treeview node automatically expand when i check its checkbox. Also, when it expand it should execute the expand event solution code in the severside to find its child nodes. It means how could i write code to call the expand event in treeview.check event. Is there anyone could help me. Any idea is appreciated, thanks in advance!
|
|
|
|
|
Hello Friends
I'm using the follow code in my website to send/receive e-mails:
SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587);<br />
<br />
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;<br />
smtp.EnableSsl = true;<br />
smtp.UseDefaultCredentials = false;<br />
smtp.Credentials = new System.Net.NetworkCredential("MyGmail@gmail.com", "MySecretPassword");<br />
<br />
MailMessage message = new MailMessage();<br />
message.Subject = "etc etc etc";<br />
message.Body = "etc etc etc";<br />
<br />
message.From = new MailAddress("MyGmail@gmail.com");<br />
message.To.Add(new MailAddress("MyGmail@gmail.com"));
<br />
smtp.Send(message);
In MailMessage.To, I place myself mail, and works very fine when I receive feedbacks in the site. But I wish use the same code to send e-mail to another persons, (like password reminders). The code works fine, none exceptios are throwed but the mail is not received!!! What's wrong? Someone can help me?
Jesus is Love! Tell to someone!
|
|
|
|
|
Hi All,
How can we show a selected directory path from web server?
I need all possible drives and directories of server to be dispalyed in a tree structure using ASP.Net and c#. by selecting a directory from the tree the directory path need to be displayed in a text box.
I am new to ASP.Net 2.0. please help in this regard.
Thanks in advance.
chinna.
|
|
|
|
|
I need to solve this ASAP
Expecting a solution reply soon..
Thanks
Chinna
|
|
|
|
|
Howdy
I have an arraylist that I bind to a datagrid and display on a webpage
On the webpage, the header on the datagrid has a column header of ITEM
I'm trying to change this display the correct name, but can't figure it out.
I've looked at examples for tablespace and it seems complicated and I'd need major rewrites in the program
Seems like I ought to be able to set something in the properties field - like 'Collections" - this has a bound columns property with header text - but I can't figure out what to put for 'data field' - program keeps blowing up on this
Thanks
|
|
|
|
|
Hey all
I've got an aspx page that has a number of text boxes on it. I have the following javascript function that counts characters within the text box:
function myLength(lbl,tb,max){
//lbl is the ID of the control that displays the count
//tb is the ID of the control that is being counted
//max is the maximum amount of characters allowed in the control
lbl.innerHTML = tb.innerHTML.length + " of " + max;
}
Within the vb page associated to the aspx page I have the following code:
txtTitle.Attributes.Add("OnKeyUp", "myLength(document.getElementById('" _
+ lblWC_Title.ClientID + "'),document.getElementById('" + _
txtTitle.ClientID + "')," + txtTitle.MaxLength.ToString + ")")
This adds the onkeyup event to the text box and passes the correct client ID's into the javascript function.
Now my problem is this, if my asp text box is multiline then the word count works fine but nothing happens if it is a text box set to be single line. I use the same methods as shown above for both types of text box. Any ideas on what is causing this?
Thanks in advance
W.
|
|
|
|
|
Have you examined the code that is created (e.g. view source in browser), to see what is missing?
---
b { font-weight: normal; }
|
|
|
|