Jump to content
Xtreme .Net Talk

Rankun

Members
  • Posts

    18
  • Joined

  • Last visited

Rankun's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Datagrid editing Complex?? **Resolved** Hi and thanks for taking the time to read my post. I want to know how I can raise an event when a user changes/edits a field in my datagrid. I don't want to update the datasource or table, what I want to be able to do is rename a file (or do anything for that matter). IE.. When a user clicks a cell in my datagrid and they change the cell with text "Filename.txt" to "Filename2.txt", I want to raise an event to actually rename the file in windows explorer. Thanks for the support, Rankun I used CurrentCellChanged event.
  2. I actually thought about that, only problem is I don't want to install this on 3000 computers. And I can't "install" it on the server. I need to run it as an exe from a server share. Thanks again,
  3. Thanks Wile! Fixed the problem for my machine, now I just need to find a group policy or something to fix the rest of the pc's on the domain.
  4. I wrote this program that lists the system information on the "About" form. I am not using hte msi to install, just running the exe. It works like a champ with any user on any machine if the exe is copied to the local machine, but doesn't work if anyone (including domain admins) runs it from a server share. Code and error enclosed. Any help is greatly appreciated!! Thanks, Rankun code.txt error.txt
  5. Thanks for the info, but I need to do it in IE. Anyone else have an idea?
  6. Thanks in advance to anyone who can help. I have been pounding forums and google to no avail. I am looking for any resource (book, sample code, guide, link, etc..) I have seen several answers to this question but they all lead to things like configuring IE custom toolbars , adding buttons to IE toolbar, code in C++, toolbars for forms. Here is what I want to do. Create a new toolbar (toolband) to add to my internet explorer browser. (Must be in VB.net) Basic look will be like the google toolbar, except it will have a dropdown box that pulls data (URL's) from an access database on my web server. When you select an URL from the dropdown list it will open that website in a new browser window. ***See attached example*** I have already written the code for my linkserver (thanks to all the dotnetforum gurus for thier help). Sorry if this sounds demanding, pulling my hair out looking for any information. Thanks, Rankun
  7. Any luck on this? I am trying to do the same thing. I created a "link server" web page for all my favorites, but now I'd like to put in on a IE integrated toolbar. Thanks, Rankun
  8. Not sure what is happening here. Consider I am opening a book for most lines of code I write. :) I am used to writing VB6 code, not ASP and Javascript. In the javascript code what is link and val referring to or coming from? The C# code has me lost, never used C# before. Sorry for my lack of understanding. :( What I have is a dropdown list that is populated with URL's on load from a database connection. On change of the dropdown should redirect or open a website in a new window depending on if a checkbox is selected or not. Redirect works fine new window not working at all. What I was hoping is the javascript would work something like this (if it makes sense to anyone): <script language="javascript"> function newWindow(){ var doc = document.forms[0]; window.open(Global.NewJavaHyperlink) } </script> or <script language="javascript"> function newWindow(){ var doc = document.forms[0]; window.open(dropdownlist.selecteditem.text) } </script>
  9. Thanks, I don't use the html page much in my projects, guess I need to start learning that next. Anyway.. Is it possible to pass a variable from a dropdownlist (design mode) to the javascript for the hyperlink? IE Instead of "http://www.newegg.com", I am trying to use ddlHyperLink.SelectedItem.Text <script language="javascript"> var NewJavaHyperlink = "http://www.newegg.com"; function newWindow(){ var doc = document.forms[0]; window.open(NewJavaHyperlink) } </script> Thanks again, Rankun
  10. I am trying to have 2 options when clicking a button that opens a web site. 1. Open in current browser. (This works) 2. Open in new browser. Here is what I am using. If chkbxNewWindow.Checked = True Then ????? Else Response.Redirect(HyperLink) End If *Note* Hyperlink is a variable containing a website address. Thanks again, Rankun
  11. Guess I'm confusing myself.... If I use page.isvalid is that going to make my validationsummary show the errors? Or do I need to manually create/code all my errors and get rid of the .net validators? I was thinking about just recoding my app to use text boxes with page.isvalid, but I thought since .net already had all these validators and summary validation it would be easier. Thanks again, Rankun
  12. Yes, I even added it to my trusted sites.
  13. I am testing with IE 6.0 only, that is the only platform that will be used to access the program. Javascript is enabled. I am using the same box to test the app locally and from the web.
  14. Yes I am passing an empty string, on purpose. It should open up the summary validation box and give the user an error. IE You must enter a number. Again it works on the local box fine same code same inputs. Thanks for the help everyone, still looking for a solution.
  15. When I run my app on my local box it works fine. Whenever I run the app from the web, I get:"Server Error in ..." "Input string was not in a correct format." An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. This always happens whenever I click any button that requries validation. IE it should show text in the validation summary box that says something like "You must enter a number between 1 and 10", instead I get the above. Note:Web.config <customErrors mode="Off"/> Any have an idea of what I'm doing wrong? Thanks in Advance, Rankun Don't think this will help but, In case anyone wants to see the Stack Trace: [FormatException: Input string was not in a correct format.] Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat) +195 Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat) +82 [invalidCastException: Cast from string "" to type 'Double' is not valid.] Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat) +170 Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value) +7 FitFreak.Exercise.btnAddExercise_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\FitFreak\Exercise.aspx.vb:125 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 __________________ Rankun
×
×
  • Create New...