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 Wanet Telecoms Ltd 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
  • Content: Threads
  • 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

    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...
  3. 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...
  4. 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...
  5. 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?
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. rpeters74

    Custom Control in Design View

    I have a custom control with 2 TextBoxes. When I drag the control onto a WebForm in Design View the control shows as a very small green arrow. I can expand the control by dragging one of the corners and the control snaps open and shows as I would expect it to show. As I toggle between HTML and...
  14. rpeters74

    Custom Control Assembly TagPrefix not showing

    I developed a simple TextBox CustomControl (witin a CustomControl Library project) and added to the AssemblyInfo.vb file the TagPrefix "CustomCntrl". I build the project. On a sample WebForm I add a Tab to my ToolBox and add the dll that houses the TextBox control I developed. When I drag and...
  15. rpeters74

    Exposing Custom Control event (bubble)

    I thought this would be easier but I can not find a decent example. I created a Custom Control, Tester, with a TextBox. When I use the control on a WebForm I want to be able to choose the Control from the top dropdownlist (in the IDE) and have the Textbox's TextChanged event available in the...
  16. rpeters74

    httpRuntime executionTimeout

    I am attempting to have my page timeout just to test the executionTimeout property of httpRuntime. I set this to 5 (executionTimeout=&quot;5&quot;) and on a webform I have a button that fires off a long method, but the page does not timeout. Am I missing something?
  17. rpeters74

    Framework 1.1 DataView issues

    Just upgraded to Framework 1.1 and I am not having sporadic revoloving around the DataView. I found that after creating a DataView I need to set the RowFilter (even if I do not use one) to String.Empty. The tried and true method I have found to work without strange behavior is: Dim DV as New...
  18. rpeters74

    Javascript calculations lost on back button

    I have some javascripts that total up values contained in a number of textboxes. Users can enter in new values and total values are calculated with javascript functions and displayed on the page. I have a Onload event in the html body that calls these javasctips. When user clicks out of the...
  19. rpeters74

    attachEvent

    I am able to attach events to an image like so: =============================================== var oOpenImg = document.all('imgOpen'); oOpenImg.attachEvent('onclick', alert); =============================================== Once I open a new window via JavaScript, I reference the same image...
  20. rpeters74

    Saving a Office document in IE

    I would like to be able to Save a Office document that is opened in IE. I would like to do this without creating a Word/Excel/PowerPoint.Application ActiveXObject (I do not want the users to have to alter their IE Security settings etc...) Any input would really help ... - rp

Part and Inventory Search

Back
Top