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

Search:

Type: Posts; User: stephsh

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    3,586

    Disable ONE dynamically created linkbutton

    I dynamically created a set of linkbuttons which act as page links for my text snippets. On clicking a certain linkbutton the corresponding series of text snippets should be loaded and the selected...
  2. Re: Float ASP.NET elements to right in div tbl?

    Didnt know that was possible!

    I messed around some more and changed the "float" property of the three elements to "inherit" and added the property "float: right" to the div containing those...
  3. [RESOLVED] Float ASP.NET elements to right in div tbl?

    have created a placeholder with three elements in it. I want the elements to be positioned to the right hand side of the placeholder. A big margin however appears between the element positioned most...
  4. Re: Delete row from Table Panel Layout?

    No matter, I just set it in the c# class itself :)
  5. Re: Delete row from Table Panel Layout?

    Thanks once again. I have now been able to add many more methods to the multirowpanel class :) There is however one method I created that keeps returning a null pointer exception when i throw it:
    ...
  6. Re: Delete row from Table Panel Layout?

    Thank you, that's a GREAT help!

    One question: how do I create a multirowpanel table of multiple columns ensuring that I can delete a particular control or a whole row on command? I tried editing...
  7. Re: SIMPLE: Indicate whether mouse left particular windows form control?

    thank you! I used "leave" instead of "mouseleave" which works even better :)
  8. [RESOLVED] Delete row from Table Panel Layout?

    Using the code below I manage to remove all the controls from my rows but the rows themselves dont get deleted... any help?



    if (tblPnl.RowCount > 1)
    {
    for (int i = 1; i <...
  9. [RESOLVED] SIMPLE: Indicate whether mouse left particular windows form control?

    I'm sure I've done this before but I cant find any online resources on this topic to remind me...

    After the user has changed the text of textboxA and moved the mouse off that particular control, I...
  10. Re: Disable specific button from set of programatically created buttons?

    Firstly my project wont work without the related database and webservice and secondly I dont have permission to make my whole project public... :S

    would it help if i would post a specific part of...
  11. Re: Disable specific button from set of programatically created buttons?

    On a similar page (named "MyPage") with an identical problem I inserted JonnyPoet's recommended method of searching through all controls for a LinkButton. Only one object is however displayed in the...
  12. Re: Disable specific button from set of programatically created buttons?

    My ASP.NET page contains the ASP.NET PlaceHolder control "holderPages". In my Code Behind page I programmed the PlaceHolder to be filled at run-time with a series of linklabels (post #17).

    This is...
  13. Re: Disable specific button from set of programatically created buttons?

    Interesting!!

    I have tried applying both your theories but strangely my event handler is no longer being fired (i didnt change the syntax at all)! Form posts state this problem can occur with...
  14. Replies
    4
    Views
    21,455

    Re: Create table in Windows.Forms?

    Thank you, Ill try that :)
  15. Re: Disable specific button from set of programatically created buttons?

    My event handler no longer fires... I tried deleting the whole page and creating a new one but no luck there...



    protected void CreateSetOfLinklabels()
    {
    ...
    mLbtnPage.Click += new...
  16. Re: Disable specific button from set of programatically created buttons?

    Thank you all very much for your comments! I'll have a read through and try those different methods out.... I have created an ASP.Net/C# Web Application in MS Visual C# V9.0 2008 and am thus using...
  17. Re: Disable specific button from set of programatically created buttons?

    The point is that "Name" is not in the LinkLabel's property list, it's not a recognized command... Maybe Im missing an import? My current imports are:



    using System;
    using...
  18. Replies
    4
    Views
    13,008

    Re: Skip certain elements in an array?

    THanks!
  19. Re: Disable specific button from set of programatically created buttons?

    I think thats what I was originally trying to do.... I have replaced the ".Name" of JonnyPoet&#180;s method with a different method to check if the control that is currently been looped through is a...
  20. Re: Disable specific button from set of programatically created buttons?

    The following code is not recognized: mLbtnPage.Name = "LinkButton". I tried using the NamingContainer instead but I received a syntax error:



    mLbtnPage.NamingContainer = "LinkButton";
  21. Re: Convert string to string literal verbatim

    Thanks!!!!! It works perfectly using:



    try {
    mBuffer = Convert.FromBase64String(mMainTable.Text);
    // mBuffer = encoding.GetBytes(mMainTable.Text);
    ...
  22. Re: Convert string to string literal verbatim

    Thank you, I used your suggested method. When I try to open the PDF I however get the error message that the data is presumably damaged. Could this have to do with converting it to a base64 encoded...
  23. Disable specific button from set of programatically created buttons?

    Not knowing the exact number of labels needing to be created, I have created multiple instances of Linkbuttons "mLbtnPage" and have assigned each a different ID. On clicking a certain linklabel it...
  24. [RESOLVED] Convert string to string literal verbatim

    I have converted a PDF to byte[]. I then converted that to string since it specifically to be saved in the database as nvarchar(MAX). I would however like to know how to convert it to string literal...
  25. Replies
    4
    Views
    13,008

    [RESOLVED] Skip certain elements in an array?

    Elements cannot be removed from an array. Is it possible to skip or hide particular items in an array by stating the element ID of the elements desired to be skipped? As far as I understand the...
Results 1 to 25 of 130
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured