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: cupcakesrule
  • Order by date
  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
  16. cupcakesrule

    Dynamically Display Various Crystal Reports

    Currently I am using the following code to get an updated report. All of the information is being stored in a database, is there a way to change the line in red to a report on the fly? protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1; private Database crDatabase...
  17. cupcakesrule

    Dynamically Display Various Crystal Reports

    That's not really what I am looking for, I want to be able to create multiple Crystal Reports within the web application. There will then be a drop down list of all of the reports that have been created. When the user selects the report from the drop down list that report, 1 of the multiple...
  18. cupcakesrule

    Dynamically Display Various Crystal Reports

    I have multiple Crystal Reports created in my Web Project. I want the user to be able to select the report they desire and then display the up to date report. Is there anything I can do with the following statement: CrystalReport3 crReportDocument = new CrystalReport3 (); So that when the...
  19. cupcakesrule

    LogOn Failed XML

    Alright I switched everything over to a SQL database and am trying the following code crConnectionInfo.ServerName = "****"; crConnectionInfo.DatabaseName = "****"; crConnectionInfo.UserID = "sa"; crConnectionInfo.Password = "****"; CrystalReportViewer1.RefreshReport(); But am still getting a...
  20. cupcakesrule

    LogOn Failed XML

    Is it possible to set my datasource for my report to a dataview object?

Part and Inventory Search

Back
Top