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;
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?
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
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'
}
}...
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...
<script type=text/javascript>
var answer = confirm("Are you sure you want to delete this record?")
if (answer){
//delete record
}
else{
//cancel here
}
</script>
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?
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.
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.