Search

You searched for the word(s): userid:674286

Matching Posts

  • Re: Web Control Library override fails

    Thanks Teemu for your reply. I gave up trying to put the control in a "Web Control Library" project. If anyone can explain why that failed, I would still like to know what I did wrong. As to solving the print problem with too much text in a TextBox... I took the "PagingTextBox" vb file and put it in the App_Code folder of my web project. I then put this line in the aspx file which uses the "PagingTextBox": <% @ Register TagPrefix ="ic" Namespace ="inheritedControls"
    Posted to Custom Server Controls (Forum) by brad75552 on 4/7/2009
    Filed under: print multipage textbox
  • Web Control Library override fails

    I am trying to make a "Web Control Library" with a control overriding the TextBox. The reason for doing this is that the TextBox does not handle printing page feeds correctly when the TB contains more than one page of text. I was going to override the rendering to render a textarea for each paragraph in the text (instead of one big textarea as tb does by default). I am using VisualStudio 2005 and VisualBasic. I went to File/New Project and created a ""Web Control Library"
    Posted to Custom Server Controls (Forum) by brad75552 on 4/1/2009
    Filed under: "Web Control Library" override fail failure xml
  • Re: Cannot get the command event to be fired

    Hi, I made a test page that does something like you did. I programmatically added a LinkButton, clicked the link and it worked. Have you put a trace in the LinkClick routine to confirm that it is not going there? Your HTML looked essentially the same as mine generated. Been a few days, maybe you already solved this? B
    Posted to Web Forms (Forum) by brad75552 on 1/14/2008
  • Re: Cannot get the command event to be fired

    What does the source for the LinkButton look like in the browser?
    Posted to Web Forms (Forum) by brad75552 on 1/11/2008
  • Re: Store checkBox value in DataBase

    I assume your checkbox is in a data display control (FormView, GridView...). If it is, its Checked property can be bound like: ... Checked='<%# Bind("booleanDBName") %>' When you do the update, binding occurs 'automatically'. B
    Posted to Web Forms (Forum) by brad75552 on 1/11/2008
  • Re: Assigning a stored procedure return value to a control

    The output variable should be defined in the stored procedure: @Agency_ID int, @OutValue int OUTPUT You also need to set its value in the SP. B
  • Re: Nested Gridviews and Passing Parameters within

    VP, I would be inclined to create a single SQL query which returned distinct year/month combinations: "SELECT DISTINCT ResolutionYear, DATEPART(m , ResolutionDate) WHEN '1' THEN 'January' WHEN '2' THEN 'February' WHEN '3' THEN 'March' WHEN '4' THEN 'April' WHEN '5' THEN 'May' WHEN '6' THEN 'June' WHEN '7' THEN 'July' WHEN '8' THEN 'August' WHEN '9' THEN 'September'
    Posted to Data Presentation Controls (Forum) by brad75552 on 1/11/2008
  • Re: Programmatically set the selected menu item in the Menu control

    Find the menu item and set its selected property to True: mnuLanguage.Items( indexToSelect ).Selected = True I think this removes any other selection, but not sure. B
  • Re: Urgent!! Help needed for Gridview headers font size.

    Easiest way to do this in VS is to go into design view, select the GridView, bring up its properties. Select Styles/HeaderStyle/Font/Size. Select a large size from the dropdown list. The size of the font will change in the design view immediately. If it does not, there is something conflicting with the selection (as the previous response suggested). I would consider removing the HeaderStyle info from the EVENT_DATE field (would do that anyway as it will override the global font selection you are
    Posted to Data Presentation Controls (Forum) by brad75552 on 1/11/2008
  • Re: Problems Displaying Data Using Repeater Control

    CS05, The more important part of your code is how the selection is made and when the new data is bound to the controls. I am assuming here that when the selection is made you are setting MenuSearch somewhere in your code. In that code where it is set, you should call DataBind on both the GridView and the Repeater. This should cause the new data to be found and loaded into both controls. Little notes: Your SqlDataSource names are different in your two code snippets; I assume that the same SDS is used
    Posted to Data Presentation Controls (Forum) by brad75552 on 1/10/2008
Page 1 of 4 (37 items) 1 2 3 4 Next >