I was hoping to create a custom control whose template would only allow elements of a certain type. Below is an example of desired markup:
<cc1:EntityView runat="server">
<LabelledControls>
<cc1:LabelledTextBox runat="server" />
<cc1:LabelledTextBox runat="server" />...
MarkSweetland/jbenson001,
Thank you for your prompt responses! Unfortunately, I am still encountering the issue even though I tried adding <Serializable()>, as suggested above. Although adding the "IsNot Nothing" check should indeed be included in a real application, it does not resolve the...
Hello everyone!
I have an issue I am hoping someone can help with. I have an application with quite a lot of code but managed to reduce all the code/references/etc down to just a few lines.
The issue that I am having is when I am accessing an object that was stored in a session variable, the...
I am somewhat new to ASP.NET and newer at creating custom controls. I created a new "dummy control" for testing/learning purposes and have been trying to figure out how to write/render a Bitmap object to a web page from within the custom control. I have tried using...
I am somewhat new to ASP.NET and very new to custom controls, so I apologize in advance if my question is ridiculous or hard to understand.
I have a custom control that:
Inherits WebControl
Overrides the Enabled property
Implements System.Web.UI.ICallbackEventHandler
All elements of the...
Thank you for your responses! Before I was able to read them, I was able to get it working. I was deleting a bitmap before using it. Also, certain bitmap-dimension values that I was using as StretchBlt parameters were causing me to "look past" the original image, so the copied image was...
Hello!
I am new to API calls that take use of a device context. I just read up a little on what a device context is, and have been working on a certain "test" procedure that ultimately will be used at work.
The procedure that I am trying to get to work will actually be used for two...
Rather than creating numerous copies of the srpPhone subreport for each person type (passenger, renter, TP passenger, etc), I thought it would be cleaner and easier to maintain to use a single subreport.
All information is based off of the "main table" tblClaim. Although the table does have a...
I just happened to notice that the srpPhone subreport is used 8 times. I took out one instance of it, and the duplicated phone numbers each decreased by 1. So, I then went on to think that you cannot use the same subreport twice within a single report, but found resources on the internet that...
Hello everyone!
I am experiencing a peculiar issue with an Access report. This is the first time I've ever made an Access report, however I have made numerous, fairly complex reports in Crystal and SSRS (BIDS).
I am reporting off of a fairly large-scale database, as it contains numerous...
I have an SSRS report that has quite a few parameters, of which some are dependant on others. For on particular parameter, there is the ability to choose multiple items. When this parameter is enabled, only certain values are checked (default). However, I would like them all to be selected...
My team has an Access DB file that was used for automating an Excel to Powerpoint process via VBA. I recently made a VBScript version hoping that we no longer would need to open the Access file and click a button to start the process. I also had hopes to schedule the script to run on a server...
Chris, I'm sorry to hear your frustrations, but at least I know I'm not the only person :) For now, I've copied and updated the Perl program in a personal folder. I've never really programmed in Perl, but it appears my additional code is working. Unless someone else has another answer (that...
I am writing a SAS program that must read in an Excel file. My team has Perl code that converts the Excel file to a CSV file that our SAS programs are able to read. Now, I've done this in the past with no problems. However, this time around the program must read in an Excel file with cell...
I think this question should be easy to answer :)
In every language I know, if you need to include certain characters (for example, a quotation mark) in a string, you must use an escape sequence before that character so the parser doesn't confuse it with some keyword/symbol.
Here is an...
We never could figure out why the query took so long to run in SSRS, so we re-wrote it. This way is a lot more slick, anyhow :)
SELECT hostname, COUNT(DISTINCT alert_date) AS num_failures
FROM (SELECT alert_date, hostname, DENSE_RANK() OVER (PARTITION BY hostname ORDER BY alert_date DESC) AS...
Another thing to note, I just commented out the "file mail;" line and ran the program for both versions (11/30 and 12/1). The 'put "This is a test."; put n_obs;' line only produced output for the 12/1 version, as expected. However, no mail was sent for either version. Although this is what...
First off, thanks for your response :)
I will elaborate to hopefully clarify things a bit more. There is no variable 'test'.
Based off of the data being used, with the query looking for all records with 'newA' >= mdy(11,30,2009), there should result several records. I opened up the 'cust2'...
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.