Forum: ASP.NET Jul 21st, 2009 |
| Replies: 5 Views: 898 There is an "OnClientClick" attribute for your button. That is where you would put a call to a javascript validation function. Your button control in the aspx page would look something like this:
... |
Forum: ASP.NET Jun 16th, 2009 |
| Replies: 2 Views: 520 I am able to programmatically display the reports, and pass parameters to the reports if I know the parameter names ahead of time. What I'm not sure of is how to determine what parameters the report... |
Forum: ASP.NET Jun 15th, 2009 |
| Replies: 2 Views: 520 I am working an an app that allows users that create crystal reports (.rpt files) to upload and view their reports via my web application using the CrystalReportViewer server control. I would like to... |
Forum: ASP.NET Jun 10th, 2009 |
| Replies: 3 Views: 346 That's a good thought, but I can hit the site directly with http://. This issue only comes up when you access a page using https and it tries to redirect you to a page using http. I tried... |
Forum: ASP.NET Jun 10th, 2009 |
| Replies: 3 Views: 512 I'd change your css to have "current" be a class. Then you can add ID and runat attributes to your <li> tags and assign the class to them from the code-behind. Hope that helps? |
Forum: ASP.NET Jun 10th, 2009 |
| Replies: 3 Views: 346 I have a site with SSL and am getting some very strange behavior when trying to go from https to http. In its most basic form, the problem is if I redirect from an https page to a different... |
Forum: ASP.NET Dec 11th, 2008 |
| Replies: 1 Views: 1,115 It really can't be done over the www. If all your users are on your LAN it may be possible, depending on your network config. I'd suggest going about it a different way. |
Forum: ASP.NET Dec 9th, 2008 |
| Replies: 2 Views: 3,060 I'm a VB guy, but I think c# uses ==
if (DropDownList1.SelectedItem.Text=="buyername" ) |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 2 Views: 1,127 Also, if your client follows a standard HTTP Post, you can access the posted values with the Request.Form collection. |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 2 Views: 1,127 1) You'll want to read the input stream. In VB it looks something like this:
Dim sr_request As New StreamReader(Request.InputStream)
Dim str_request As String = sr_request.ReadToEnd
That... |
Forum: ASP.NET Oct 28th, 2008 |
| Replies: 4 Views: 1,195 Try replacing NameTextBox.Value with NameTextBox.Text. ASP server control textboxes use the .Text property. If the control was an html server control (input tag with a runat="server" attribute), then... |
Forum: ASP.NET Oct 10th, 2008 |
| Replies: 2 Views: 614 You could always store the body of the email in a field in a database. Alternatively, you could use a 3rd party mail sender that saves a copy of sent messages. We use Persits ASPEmail. It is nice... |
Forum: ASP.NET Sep 30th, 2008 |
| Replies: 5 Views: 1,027 Not sure what the issue is, but it definitely is possible. Using the codesubdirectories tag in the web.config even lets you add subdirectories to App_Code and you can have vb in one and c-sharp in... |
Forum: ASP.NET Sep 29th, 2008 |
| Replies: 5 Views: 1,027 Depends where your code is. If it is all in separate code-behinds you should be ok. You can't mix vb and c# in the same code-behind or in the app_code folder though. |
Forum: ASP.NET Aug 7th, 2008 |
| Replies: 2 Views: 890 I would suggest not storing a dataset in a user's session. If you do, make sure you clear it as soon as possible. |
Forum: ASP.NET Jul 6th, 2008 |
| Replies: 1 Views: 1,416 Can you post your aspx file? Do you have a textbox with an ID of "subject1"? |
Forum: ASP.NET Jun 28th, 2008 |
| Replies: 3 Views: 2,450 I think you're problem is your deny users="*" in your secured folder's web.config. That will deny everyone, regardless of if they have been issued a forms authentication ticket. Try changing the... |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 1 Views: 576 I'm primarily a vb.net developer, but this line looks strange to me:
private Control FindControlRecursive(Control root, string id)
I'd think you'd need to change the word Control to... |
Forum: ASP.NET Jun 15th, 2008 |
| Replies: 1 Views: 2,837 Lol... definitely not easy. Even plugging the source of a working shopping cart into a new design can be tricky. I'd go here:... |
Forum: ASP.NET Jun 15th, 2008 |
| Replies: 7 Views: 986 |
Forum: ASP.NET Jun 13th, 2008 |
| Replies: 6 Views: 764 Depends on what connections are available to you. Does the server consuming the trading feed have access directly to your DB server? How is that server currently reading the feed? |
Forum: ASP.NET Jun 11th, 2008 |
| Replies: 6 Views: 764 No. It'd have to be two separate applications. But they can use the same datasource, so there are really no limitations on the ways or the extent in which they can interact. |
Forum: ASP.NET Jun 10th, 2008 |
| Replies: 4 Views: 3,381 If you have a public property in your control name inventoryID, then in the page's code-behind, in the Page_Load event, add the line
ProductDisplay1.inventoryID = Request.QueryString("invID")
... |
Forum: ASP.NET Jun 9th, 2008 |
| Replies: 3 Views: 1,184 I'd go through this article which should help you get your app talking with MySQL: http://www.15seconds.com/issue/050210.htm .
Then this article should give you the basic .NET information to get... |
Forum: ASP.NET Jun 9th, 2008 |
| Replies: 3 Views: 1,184 The code will change depending on the data structure. Also, the method you want to collect the data will make a big difference (from a form, web service etc.). Let us know the details of what you... |
Forum: ASP.NET Jun 8th, 2008 |
| Replies: 7 Views: 986 There are definitely many differences between PHP and ASP.NET!!! ASP.NET is a Microsoft, closed source technology and PHP is open source. In order to understand either, you'll probably want to go buy... |
Forum: ASP.NET Jun 7th, 2008 |
| Replies: 5 Views: 1,495 I'd suggest implementing a 3rd party component. We use http://urlrewriter.net/ quite a bit and I've been very impressed with it. If you decide to go this route and end up having any issues with the... |
Forum: ASP.NET Jun 7th, 2008 |
| Replies: 1 Views: 881 That's a pretty big and complex project to tackle if you're just getting into programming. I'd suggest starting a bit smaller. Regardless, this isn't actually the forum to find help for windows... |
Forum: ASP.NET Jun 5th, 2008 |
| Replies: 3 Views: 710 Can you post the code you have so far? There are a few ways to do this and we'll be able to help better if we can see what direction you're headed. |
Forum: ASP.NET Jun 2nd, 2008 |
| Replies: 1 Views: 642 Try
ImageMap1.Attributes.Add("onMouseOver", "document.getElementById('" & ImageMap1.ClientID & "').src='images/addpatient1.jpg'; window.status='Mouse Over'; return true;") |
Forum: ASP.NET May 30th, 2008 |
| Replies: 3 Views: 1,136 I've done it before following this article. Maybe it'll help you too. http://aspalliance.com/articleViewer.aspx?aId=138 |
Forum: ASP.NET May 29th, 2008 |
| Replies: 3 Views: 1,136 It's usually best practice to store the image name or location in the database and use that on your front-end to display the image. Is there a reason you can't do that in this instance? |
Forum: ASP.NET May 19th, 2008 |
| Replies: 1 Views: 1,247 You can programmatically set a gridview column's headertext (which can be html). So in your procedure that handles the sorting, you could do the following and change the image source depending on the... |
Forum: ASP.NET May 13th, 2008 |
| Replies: 4 Views: 2,258 What's your error? I'm guessing it is because you are comparing a listitem to a string. Instead of .SelectedItem try .SelectedItem.Text or .SelectedValue. |
Forum: ASP.NET Feb 20th, 2008 |
| Replies: 4 Views: 11,379 You'll want to hook into a 3rd party company that is already integrated into the major wireless providers' billing systems. www.golivemobile.com is the biggest one I know of. Just a heads up though,... |
Forum: ASP.NET Feb 19th, 2008 |
| Replies: 2 Views: 4,896 I don't think it is possible to dynamically register a control on a page. Why not register each control type that might be included? The overhead from this is pretty small. Then you can use... |
Forum: ASP.NET Feb 19th, 2008 |
| Replies: 7 Views: 1,671 I'm actually trying to get it to work as a collection of child controls (ListItems). The designers are used to the standard format of an asp:DropDownList with multiple asp:ListItems as child controls... |
Forum: ASP.NET Feb 19th, 2008 |
| Replies: 7 Views: 1,671 Thanks for the reply. I was considering doing something similar to this. I guess great minds think alike. :) Unfortunately, I can't get any of the designers on board with this format so I'm still... |
Forum: ASP.NET Feb 18th, 2008 |
| Replies: 7 Views: 1,671 I'm trying to make a custom user control which has the same functionality as a DropDownList, except with a few extra properties. Basically I'm making a set of dummied-down controls that our designers... |
Forum: ASP.NET Feb 18th, 2008 |
| Replies: 7 Views: 1,671 I am creating a user control in ASP.NET 2.0 that includes a DropDownList. Does anyone know how to get the collection of ListItems that are hard coded between the opening and closing tags of my custom... |