Doh!!
I only needed to add a reference to the Utility namespace in the presentationTier also since the User object inherits from this.
Thanks for your help guys!
Affleck
there are 10 types of people in this world those who understand binary, and those who don't.
Thanks Chrissie, but this is how I originally referenced the assembly and it didn't work. Perhaps I am been ignorant here and you simply can not inherit from a baseClass in a different assembly...
I'm sure I have done this before in Java though.
I will try the GAC again i think.
:)
Thanks...
Yeah, all four are in the same solution. When you say using the .net tab do you mean selecting the assembly from the list, or using the browse to point to the dll? - The assembly is not in the list despite it being added to the GAC.
cheers
Affleck
there are 10 types of people in this world...
I presume by flat you mean the style?
if so you need to create appropriate css styles and assign these to your control.
eg.
.flat
{
border:1px solid #ccc;
}
then in your control:
<asp:textbox id=txt_Forename runat="server" cssclass="flat"></asp:textbox>
Affleck
there are 10 types of...
What is the format of your array?
In order to specify a key, you will need to use a key, value pair type collection such as a hashtable.
Why are you wanting to specify the DataKeyField?
Affleck
there are 10 types of people in this world those who understand binary, and those who don't.
Yes I have referenced the utility namespace as so:
using Ntpct.Utility;
there are 10 types of people in this world those who understand binary, and those who don't.
why not use the Form.FindControl("controlname") instead?
Affleck
there are 10 types of people in this world those who understand binary, and those who don't.
You will need to get the server variables:
//get protocol
string sProtocol = "http://";
if(Request.ServerVariables["HTTPS"]) = "ON")
{
sProtocol ="https://";
}
//get domain
string sDomain = Request.ServerVariables["SERVER_NAME"];
//path
string sQuerystring = Request.Querystring;
//then put...
Hi all,
I am developing a 3 tier .net application using vs.net.
On complitation the app will have 4 assemblies:
Ntpct.LoanEquipment.BusinessTier.dll
Ntpct.LoanEquipment.DataAccessTier.dll
Ntpct.LoanEquipment.PresentationTier.dll (web app)
Ntpct.Utility.dll
the Utility assembly in the Ntpct...
Hi,
does anybody know how to retrieve documents from sharepoint document library using sharepoint webservices and ASP.net?
TIA
there are 10 types of people in this world those who understand binary, and those who don't.
Hi,
Is there a way to aggregate all document libraries within a sharepoint portal. So that a user can see a total list of all documents including those in sites/ subsites?
TIA
there are 10 types of people in this world those who understand binary, and those who don't.
again, i feel foolish!! :)
Thanks, I'll add the controls to the view state!
there are 10 types of people in this world those who understand binary, and those who don't.
I have a linkButton that when clicked adds a control to a placeholder control collection.
When the user clicks the linkButton one HtmlInputFile control is added, but any subsequent clicks doesn't add any more controls to the placeholder!?
I have the following wired to the click event:
private...
ca8msm,
Can't believe i missed that! maybe I should sleep more.
Thanks!!
there are 10 types of people in this world those who understand binary, and those who don't.
Hi,
I am trying to create a web form that allows users to upload files. I want to be able to provide the user with a link to add as many FileInput conrols as they need since they may have more than 1 file to upload. I can create a static version of this no problem.
I have a linkButton that is...
Hello,
I am trying to Hot Deploy a webapp to Tomcat using ant and the tomcat manager tasks.
<target name="install" description="Install application in Tomcat" depends="deploywar">
<install url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/"...
Hi again evrybody, im back with another simple question (hopefully)
How do I create a trigger so that when a record is deleted from a parent table all related child records are deleted also?
Ive done this in the past by enforcing Ref Integrity in Access but im using MS Sql now.
Thanks in...
Hi again I need more help please,
I am creating a search page to search a courses database the search form has 5 fields on it a Keyword Text field
and 4 checkboxes.
I want the stored procedure to generate a recordset based upon the search criteria set, but I dont want the user to have to enter...
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.