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 Mike Lewis 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: rpeters74
  • Order by date
  1. rpeters74

    Setting focus .. this should be simple

    Simple scenario: You have 3 textboxes on the screen (txt1, txt2, txt3). When the focus leaves (onBlur) txt1 I want to manually set the focus to txt2 only if the reason focus was lost on txt1 was due to the tab button. onBlur event has a keyCode (event.keyCode) of zero (0) (tab key keyCode is...
  2. rpeters74

    RadioButton inside Repeater

    Would any soul out there have a server-side solution to this "feature" .. er I mean bug?
  3. rpeters74

    RadioButton inside Repeater

    Known issue. A RadioButton inside a Reapeter/Datagrid has it's Name (GroupName) altered by INamingContainer rendering the grouping of RadioButtons useless. Micosoft has provided a javascript solution but that is not do-able in the application I am working on. So I created my own Repeater...
  4. rpeters74

    Getting Referrer page using Server.Transfer

    Not sure I understand the question or where you are going with this. I do not want to implement any other logic mearly to retireve the last page. Currently I am storing this as a session value, which sucks. Just can't believe Microsoft did not deal with the pitfalls of Server.Transfer that...
  5. rpeters74

    Getting Referrer page using Server.Transfer

    This has stuck in my craw for some time and it would seem I can not find any simple solution. Simply, when using Server.Transfer how can I get the last page the user was on (URLReferrer does not work). Thinking of implementing a stack like the DOM history object but gads, this should be more...
  6. rpeters74

    Determining size of object in bytes

    I am trying to determine the memory footprint of a object I am stroing to a custom cache object. The object is a HybridDictionary containing collections and property bags. Marshal.SizeOF() does not work (I point you toward a discussion that got nowhere on this topic...
  7. rpeters74

    Clear LinkButton Highlight

    Noticed in a datagrid that has linkbuttons the LinkBUttons get highlighted when you click on them. The row where the linkbutton was clicked will show the linkbutton as "visited" (highlighted) even after rebinding the datagrid and/or paging. Any input on how to clear the linkbutton's highlight?
  8. rpeters74

    Custom RadioButtonList loses ViewState

    Tarnation! I was not Implementing INamingContainer on the RadioButtonList. Please ignore post.
  9. rpeters74

    Custom RadioButtonList loses ViewState

    Hi. I created a Custom DropDownList that inherits from WebControl. The Custom DropDownList creates a DropDownList and a RequiredFeidlValidator in the CreateChildControls() event. This control works 100%. I created a custom RadioButtonList in the exact same manner as I described above...
  10. rpeters74

    Custom Textbox control w/ Required Val

    So I went ahead an crated a control with a Textbox and a ReqFieldValidator. I created another control that uses the above control. In the new control I want to be able to point to the Textbox in the above control as the ControlToValidate. I keep geeting the following error : Unable to...
  11. rpeters74

    Custom Textbox control w/ Required Val

    I figured that was the an option. Inherit WebControl then have the textbox and validator created in the CreateChildControls. Just was fishing for a way to do so w/o having to expose all of the Texboxes inherent controls manually. 'preciate the response dragonwell!
  12. rpeters74

    Custom Textbox control w/ Required Val

    I would like to create a custom TextBox that has a RequiredFieldValidator on it. I have attempted creating such a control that Inherits from TextBox, adding a RequiredFeildValidator (using Me.Controls.Add) in CreateChildControls. I set the RequiredFeildValidator.ControlToValidate property to...
  13. rpeters74

    Problems w/ ListItem in custom CheckBoxList

    I created a very simple custom control inherited from CheckBoxList. I created a schema (xsd) to define how intellisense will work in HTML view in the IDE. When I try to add a ListItem to the control in the HTML intellisense I see <MyControlLibrary:ListItem> rather then <asp:ListItem>. Does...
  14. rpeters74

    Custom DropDownList v RadioButtonList (ListItem problem)

    When I create a custom control that inherits from the DropDownList I can Implement INamingContainer but I can not do this for a RadioButtonList (error states that it is already implemented by the RadioButtonList control). I use an xsd to define a schema for HTML intellisense. For the...
  15. rpeters74

    Disabling page via javascript

    Not wanting users to double-click buttons or navigate from a page after clicking a Save button I incorporated a javascript. The script loops through the form elements using getElementsByTageName('INPUT') then sets the element's disable property to true. I add an attribute to the Save button's...
  16. rpeters74

    Custom Control events defined in XSD

    I created my own xsd to define the schema for my controls so intllisense would work in HTML view. I attempted to mimic what was done in asp.xsd to "wire" up an event (<xsd:attribute name="OnDoWhatever" vs:omtype="event" />). I see the event show up in intellisense but the event I point it to...
  17. rpeters74

    Custom Controls, HTML Intellisense, xsd (adding xmlns to BODY)

    I think maybe you did =) Not sure, I didn't check if schemas was a Vritual Directory .. I just took a stab at using that url (b4 your reply) and it worked .. it's all I ment. I appreciate your help!!
  18. rpeters74

    Custom Controls, HTML Intellisense, xsd (adding xmlns to BODY)

    I ended up using http://localhost/schemas and that worked.
  19. rpeters74

    Custom Controls, HTML Intellisense, xsd (adding xmlns to BODY)

    I found some great documentation on how to create your own xsd to define hwo intellisense will work for custom controls in HTML view. I need to add an xmlns attribute to the BODY of each WebForm. All the documentation I have found uses a URL for this value but I am working locally. Do I use...
  20. rpeters74

    Custom Control in Design View

    Answer my own question. Have to create a Designer class that inherits ControlDesigner and Override GetDesignTimeHtml() function.

Part and Inventory Search

Back
Top