when you load the drop down list set the value of the item to that records primary key.
foreach(DataRow dr in myDataSet.Tables[0])
{
ddl_myList.Items.Add(new System.Web.UI.WebControls.ListItem(dr["Expr1"].ToString(),dr["Res"].ToString()));
}
set the attribute AutoPostBack=true in the aspx...
just a guess but try removing the "document.all.fra1.reload();". when you change the src of the iframe it should automatically reload, and calling the reload function may look for some kind of response from the server
well the server i am running the app on is not the exchange server, i need to talk directly to outlook and am unable to talk to the exchange server due to network constraints. Will that still work?
im not sure that you can do that with javascript. I'm pretty sure that all javascript is client side, but there are parts of vbscript that can access server side files. So im not sure how you are wanting to manage that part or if maybe you already have that part complete.
once you have the...
ya it makes sence, its nice that some developers dont only care about the code but what the user interface looks like as well.
with most controls, even if there is not a width property you can still control the width using styles. so instead of using... width="50"... you could type...
ya, this app is basically being used for an extranet so im not all that worried about people screwing up the documents, atleast no more so then I am giving them access to a mapped drive accross the network (becouse they always screw stuff up!). but i think ive found a way to use an activeX...
word, excell,other microsoft office documents,text docs and that would atleast be the only ones that i would expect to be able to control becouse there are only so many types of documents that can open up in a browser, and if the document is opened up outside the browser then its all over...
I am writing a client/server application and users are going to be accessing server side documents via their web browser. I was wandering if there is any client side event like an "onsave" event so that i can capture when users go to "File > Save As".
I need this becouse i have a script that i...
You have to dispose and null your connections before you re-use them. So if you have every time you establish a new connection you should say:
Dim dbConnection As New SqlConnection(strConnection)
and so on
and MORE IMPORTANTLY every time you are finished with a connection you should say...
you have to have one runat="server" form tag on the aspx page using the control. there should be no form tags in either of the ascx pages. if you make it like that i beleive it should work
To do that you will have to have a client side script that will interact with your code behind. There is no way to tell from the code behind when a user clicks the "X" becouse that is a client side function. However you can do something like this...
in the body tag add this to every page...
I am writing an app that needs to talk to the ms outlook on the server running the app to look through all of the unread emails. Does any1 know what dll i can refrence to or where I can find out?
In ASP.Net C#
Say you have a page with a logo at the top, menu on the left, and all your content in the bottom right.
On this page I have a print button, I need to find a way to print just the content part of the page without opening a new window or doing something silly like using frames...
Lets say you have a page with a logo at the top, menu on the left, and all the content on the lower right.
On this page i have a print button and i want the print button to print only the content section of the page. I would like to do this without using frames.
An example...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.