Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cmn2
  • Order by date
  1. cmn2

    Using one list across multiple sites

    Hello, I am trying to find a way to use a single list as a datasource for two calendars. The calendars are on separate publishing sites. After searching for many hours there does not seem to be an easy way to do this. Does anyone have any experience on how this might be accomplished? Thank you...
  2. cmn2

    How to set DataNavigateUrlFormatString from a function

    I appreciate your sticking with me jbenson001, but as far as expert-exchange goes it is only free for 7 days and only if I give them my cc info.
  3. cmn2

    How to set DataNavigateUrlFormatString from a function

    Thanks Jbenson001, but experts-exchange is a pay site looking for cc info etc. I really rather not go down that path. Still looking for a solution.
  4. cmn2

    How to set DataNavigateUrlFormatString from a function

    Thanks for the quick reply. Here is a little more background. I am getting a build error: Databinding expressions are only supported on object that have a DataBinding event. HyperLinkField does not have a DataBinding event. When I hard-code the DataNavigateUrlFormatString it works fine...
  5. cmn2

    How to set DataNavigateUrlFormatString from a function

    Could someone please help me understand what I am doing wrong. I have tried endlessly trying to get this to work. All I get is errors. Thank you. Here is what I want to do: I have a gridview with a hyperlink field. I want to set the DataNavigateUrlFormatString with a function call while...
  6. cmn2

    How to set the row height for a gridview

    I don't work much in ASP and I can't believe how difficult this has become. I have a gridview where some columns have lengthy text and the overall row height adjusted itself to show all the text. I want to scale down the row height to show only some of the text. None of the gridview settings...
  7. cmn2

    insert text to a asp.net datagrid row

    Your right, some code would help. When dropdownlist onSelectedIndexChanged event fires, I would like to add Test123 to the ProductDescription column while staying in edit mode. I do not know how to do this in javascript and am looking for some assistance. Thanks Here are my datagrid columns...
  8. cmn2

    insert text to a asp.net datagrid row

    Hi, Haven't had much luck in asp forum so I'll try here. I've been struggling with this and could really use some help. I have a datagrid with an edit command. When I open up a row in edit mode I would like to set some text in several text box columns, but only after a selection is made in a...
  9. cmn2

    Add text to datagrid column when another column changes

    Hello, While in edit mode,I want to add some text to a textbox column in a datagrid when the selected text of a dropdownlist column changes. Thank you in advance to anyone who can help. Here is the sub that is called from the dropdownlist... Sub ProductIDChanged(sender As Object, e As...
  10. cmn2

    How to run a batch file from vb form

    This is what finally worked for me. Setting the WorkingDirectory was the key. Thanks for all of your help, I appreciate it. Dim p As New Process p.StartInfo.WorkingDirectory = "C:\BatTest" p.StartInfo.FileName = "c:\BatTest\MyBatchFile.bat" p.Start() p.WaitForExit() p.Close()
  11. cmn2

    Autoselect first row in datagrid

    Not quite what you were looking for, but close. Try something like this... 'attach to the mouse up event 'this will highlight an entire row, 'regardless of where in the row the user clicked Dim pt = New Point(e.X, e.Y) Dim hti As DataGrid.HitTestInfo = dgContacts.HitTest(pt) If hti.Type =...
  12. cmn2

    How to run a batch file from vb form

    Thanks for sticking with this. I will try it out later today and will post back.
  13. cmn2

    How to run a batch file from vb form

    Greetings I have an app that writes an ftp script file and also writes a batch file to execute the script file. When I double click on the batch file it runs the script file perfectly. Now I want to eliminate the double click and run the batch file automatically from my app. I am using the...
  14. cmn2

    ADO.NET with Active Directory?

    I struggled with the same issue a while ago. Here is a class that I pieced together from info gathered throughout the internet. The output is a dataset of employee names. This has worked pretty good for my needs, hope it helps. Public Class clsActiveDirectory Private Function...
  15. cmn2

    How to get most recent file added to a directory.

    So simple. Its perfect! Thanks Rick
  16. cmn2

    How to get most recent file added to a directory.

    Hello, I would like to get the name of the most recent file added to a network directory. If I understand correctly, a FileSystemWatcher is more of a listener and wouldn't be appropriate in this case. I rather have an app that can be run at anytime. Has anyone been tasked with this before and...
  17. cmn2

    How to keep a dataset sorted as the user chose.

    Thanks all for your replies. I'll try out the approaches you've mentioned. I appreciate your time.
  18. cmn2

    How to keep a dataset sorted as the user chose.

    Hi I'm using a dataset as the datasource for a datagrid. When the dataset is displayed in the grid a user can click on any column header of the dataset to alter the sort order as they choose. My question is... if I now want to pass the user sorted dataset and display it in another datagrid how...
  19. cmn2

    How to set a default item in a listbox?

    Didn't realize there was an asp.net forum too. I posted there. Thanks
  20. cmn2

    How to set a ListBox value?

    Greetings I have a asp:listbox where I would like to have the first item selected when the page is first rendered, but I'm not sure how to do this. Could anyone help me on this? Thank you <ASP:ListBox id="lstCompany" runat="server" Width="90" Height="80"> <ASP:ListItem...

Part and Inventory Search

Back
Top