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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cupcakesrule

  1. cupcakesrule

    Reference Text Box in .cs file

    I found the solution i was just trying to reference a text box from my aspx page with its associated .cs file in the .cs file. I just needed to add this line right after the class declaration protected System.Web.UI.WebControls.TextBox testtextbox;
  2. cupcakesrule

    Reference Text Box in .cs file

    Hi i have a test webpage with a text box with the id: "testtextbox" I tried to reference this text box in my .cs file like this testtextbox.Text = "test text" except i can't get the solution to build. How do i communicate with this text box in my .cs file?
  3. cupcakesrule

    Button vs Text Box AutoPostBack Problem

    what about disabling the submit button once the text box gains focus, and then enabling after the text change event is called. Though you may need a label to make visible and hide to let the user know why the button is not enabled. Just a thought that might be more trouble than its worth
  4. cupcakesrule

    Focus on Popup message

    Try calling this javascript function when the user goes to delete <script type=text/javascript> function ConfirmDelete() { var answer = confirm("Are you sure you want to delete this record?") if (answer) { location.href='yourpagename?RunDelete=True&IDToDelete=45' } }...
  5. cupcakesrule

    DropDownList doesn't display the first item on the list.

    You can use If DR.HasRows Then rbList.DataSource = DR rbList.DataBind() End If
  6. cupcakesrule

    Focus on Popup message

    Or if the user confirms the delete you can use the loation.href code with some query strings like this [code] location.href='yourpagename?RunDelete=True&IDToDelete=45' [code] Then put an if statement in your page load to see if these query string variables have values. This may not be the...
  7. cupcakesrule

    Focus on Popup message

    that's as far as i can get you...you may want to look at the RegisterStartupScript to help you to intertwine the javascript and .net code
  8. cupcakesrule

    Focus on Popup message

    <script type=text/javascript> var answer = confirm("Are you sure you want to delete this record?") if (answer){ //delete record } else{ //cancel here } </script>
  9. cupcakesrule

    Server.Mappth

    I know this is basic but I am having trouble finding this anywhere. What is the equivalent in a windows application to a web pages Server.Mappath?
  10. cupcakesrule

    &quot;Could not load file or assembly &quot;

    SO I noticed it is looking for version 1.1.0.0, and the newest version in my folder is 1.0.1.2. So how do I change which version it is looking for? Shouldn't this be accomplished when I reregister these dlls?
  11. cupcakesrule

    &quot;Could not load file or assembly &quot;

    Well those two together, gacutil and ragasm, is like registering them with the REGSVR32.EXE, the gacutil adds the assembly to cache, and the regasm registers it.
  12. cupcakesrule

    &quot;Could not load file or assembly &quot;

    Yes we have a .bat file that removes the .tlb files then adds the assemblies, then gacutils them and lastly regasms them.
  13. cupcakesrule

    &quot;Could not load file or assembly &quot;

    My apologies for the ambiguity but it errors out on the line where I try and call the wrapper: DocSetsXML = DocPrepWrapper.GetFormsList (DocSetIdentifierXML, _ DocDataXML) This is the name of the DLL: DocPrepWrapper.dll And this is the tlb file...
  14. cupcakesrule

    &quot;Could not load file or assembly &quot;

    I had a web page that was working, but had the dllls that I was working with replaced so I went through, and removed all of the old tlb files and gacutiled and regasmed the new ones, and am now getting the following error: I then deleted all of the references in the registry and tried to...
  15. cupcakesrule

    Dynamically Display Various Crystal Reports

    That was it Thank you so much

Part and Inventory Search

Back
Top