CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: wmain

Search: Search took 0.01 seconds.

  1. Re: Using Enter to move to next field on a formview

    I've found a partial solution. I can use the ScripManager's SetFocus method instead of the Page's SetFocus. This works fine when there has been a change made to the control. In the control's...
  2. Replies
    6
    Views
    1,034

    Re: text from program ---> web www

    Try using the web browser control either on a windows form or as an object. You can use the get by id or get by name to find the control on the page (sometimes you just have to count the number of...
  3. Using Enter to move to next field on a formview

    I have an asp.net web site using ajax.asp 1.0. I am using many formview controls for inserting and editing records. The customer has requested that the enter key moves to the next field in the...
  4. Re: Choose programs to startup after Windows loads...

    There is a registry entry used to launch applications after the windows logo is displayed but before the desktop and such is loaded. At this point windows does not have any files open and no locks....
  5. Replies
    17
    Views
    38,213

    Re: Export to CSV or Excel Multiple Sheets

    You can export directly to excel sheet in an xls file by using the access oledb driver. It supports all kinds of file formats besides just the access mdb type. Check it out. You should be able to...
  6. Replies
    3
    Views
    942

    Re: Redirecting- in web.config

    You should use httpHandler to do this. It can be as simple as



    if(Request.Url.AbsolutePath == "this")
    Server.Transfer("something/this.aspx");
  7. Replies
    2
    Views
    804

    Re: Validation in user controls

    Are you setting the ErrorMessage or Text property with the message you want to display? My experience has been that the Text property is displayed regardless of the validation. It depends on the...
  8. Thread: A doubt

    by wmain
    Replies
    1
    Views
    631

    Re: A doubt

    I believe that you will need to access the membershipproviders collection in order to get the object representing that entry in the config file.

    See the System.Configuration namespace which ...
  9. Replies
    2
    Views
    471

    Re: From a UserControl to another

    I believe that the page and the user control each have their own viewstate. I would use the asp.net cache or a session variable instread. Using the cache you can set a time span for which the data is...
  10. Replies
    1
    Views
    623

    Re: The best way to create headlines

    I would think that a DataList or Repeater would be the most appropriate for displaying the top ten newest headlines. I'd use an sql statement similar to



    SELECT TOP 10 *
    FROM TABLE...
  11. Replies
    1
    Views
    722

    Re: A Query regarding listbox

    foreach(ListItem li in ListBox)
    li.Selected=false;


    If you do this this in the new ListBox2.onfocus client event by calling a web method this should clear the selected items. If you need to...
  12. Thread: persisting data

    by wmain
    Replies
    1
    Views
    798

    Re: persisting data

    I would save the datasource for the treeview in session or page cache. The benefit of using the page cache is it is relative only to that page and you can set a time limit after which it wil expire...
  13. Replies
    1
    Views
    3,439

    Re: Package images in executable file? [C#]

    Add the image to the project then on it's properties page set the Build Action to Embeded Resource.

    rm = new ResourceManager("Images", this.GetType().Assembly);
    pictureBox1.Image =...
Results 1 to 13 of 13


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)