Oops....pasted the wrong url. Try this one. http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp[^]
triton630
Posts
-
Non rectangular windows forms -
Non rectangular windows formsHi Amila, I read the article you're reading and faced similar problems. I found this article on code project. The author used a technique that gets around this issue. http://www.codeproject.com/dialog/taskbarnotifier.asp[^] Try it out.
-
Copy DataSet and change primary key in RelationsHi, I am trying to copy a record from an existing record in the database and then save it as a new record. The dataset I am using has a couple of references to child tables which have primary key info as well. Does anyone know an easy way to do a copy, get a new primary key information and set the primary keys on the copy to the new one? Thanks.
-
Global Objects in ASP.NETHi, I have small web application that loads some data from an XML file based on a client code entered. I've created an class with some methods for parsing out certain information at certain points within the application. Right now I am creating this object whenever I need it and setting some required information (client code, xml file name) and then calling the method I need. Is there a way to load the object when the user logs in for the life of the application? Would I do this in the global.asax? I guess the other question is now that I'm writing this out, would that be for the life of the session? or application? Thanks in advance.
-
Checking for Existence of Image FileI am setting the imageurl of a hyperlink control on page_load. I want to check for the existence of the image and if it's not on the server, set the imageurl to some default. What's a good way to do this (using C#)?
-
String vs stringCan anyone tell me if there is a difference between "String" vs "string" in C#? "string" comes up as a keyword in VS.NET. "String" does not. Just wondering. :) Thanks.
-
Footer DataformatMarcie, Silly question. Is there a way to convert it back to just the string 15.00, using the String.Format function? Or should I just remove the $ manually?
-
Footer Dataformat:) Thanks for your help as well.
-
Footer DataformatGah! So simple. Thanks for your help.
-
Footer DataformatThe grid is a shopping cart. I add a row to the cart when the user selects an addtocart button. In the onclick event, i am calculating and populating the cell. gridShoppingCart.Columns[3].FooterText = dtCart.Compute("Sum(TotalValue)", "").ToString();
-
Footer DataformatHi all, I have a datagrid with some cost information. In the footer for column totalcost, i have calculated the total cost of all items in the grid. The problem is that the footer dataformat is not in the format $100.00, instead it is in the format 100. The items in that column are in the correct format because when i created the column i set the dataformatstring property to {0:c}. Why doesn't that carry over to the footer? How do I set that in the footer? Thanks.
-
Submitting a form in ASP.NET from ServerSideThanks for the suggestion, but server.transfer will only submit to other .aspx pages. I'll have to try something else. Anyone else have any ideas?
-
Submitting a form in ASP.NET from ServerSideI have a submit button on a page called orderconfirm.aspx. When I click that button I am trying to send an e-mail and then redirect to paypal's payment form. There are some hidden objects on the the page that contain the data that paypal needs to complete the transaction. But when I view source in the page, the form's action is posting back to itself:
The serverside function is private void submit_Click(object sender, System.Web.UI.ImageClickEventArgs e) { SendEMail(); Response.Redirect("https://www.paypal.com/cgi-bin/webscr"); } Obviously this doesn't help me because I'm not actually posting the data, i'm just switching pages. Is there any way to change the action on the form from the server-side and/or submit the form from the server-side after I send the e-mail. Or maybe I should be taking a different approach...send the e-mail from the client-side? Help please.
-
Putting Datagrid into a stringThanks a bunch. That worked great.
-
Putting Datagrid into a stringOn the client side, I can do alert(Datagrid1.outerHTML) and I see the text I want. Is there a way to get the contents of a datagrid in html format from the server side? I ultimately want to add the table to an outgoing e-mail message. Thanks in advance.
-
Getting data from datagrid to new aspx pageThank you, Datagrid Girl. It turns out the answer was staring me in the face the whole time. I just needed somebody to tell me what I was looking at. I appreciate the help. triton630
-
Getting data from datagrid to new aspx pageI have OrderForm.aspx and OrderConfirm.aspx. There is a datagrid on OrderForm.aspx which is a rudimentary shopping cart. When I submit from OrderForm.aspx, I redirect to OrderConfirm.aspx. From OrderConfirm.aspx, how do I get the information from the shopping cart? I am using codebehinds and C#. I'm looking for something equivalent to Request.Form("gridShoppingCart"), but I don't think it is as simple as that. Thanks.