|
Thanks, I figured it out.
|
|
|
|
|
Partial Class RecruitingApp
Inherits EmailReadyPage
I'm receiving an error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30554: 'EmailReadyPage' is ambiguous.
Source Error:
Line 7:
Line 8: Partial Class RecruitingApp
Line 9: Inherits EmailReadyPage
Line 10: Private okToSendMarkup As Boolean = False
Line 11:
I'm using a different class to render a gridview to email the gridview results. I'm receiving this compilation error. Any suggestions?
|
|
|
|
|
Looks like you got a name conflict. Can you check that the name "EmailReadyPage" is also defined somewhere else? You may try with the fully qualified name of the class.
|
|
|
|
|
That's what it was. A naming conflict with another web form. Thanks
|
|
|
|
|
:-DHello there,
I would like to ask how can I code in aspx.vb page the data that is entered into the text box (a web control)by a user, and when the data is entered in the text box, the user will press the submit button to send the entered data into the table in the database!
please tell me how to do this in a full procedure .. because I really would like to learn (^_^)
I would like to have visual basic coding in aspx.vb and not in HTML.
It is very urgent ... I am waiting for your reply (^_^) I will appreciate your kindly assistance.
VB Student (New Learner - Home Alone)
|
|
|
|
|
You can pick up an ASP.NET book to start or any of lots of tutorials out there. MSDN[^] and Stater Kits[^] can get you started.
|
|
|
|
|
How do you all go about monitoring memory usage on your IIS 6 servers? We're using ASP.NET 1.1 on Win2k3 boxes with 2GB of RAM.
Do you set up performance counters? Do you have applications that monitor memory usage and alert you when it exceeds a certain level? Any pointers to articles/books/whatever that deal with this?
Thanks!
|
|
|
|
|
Google: "Monitor memory usage" Server
I won't promote the product that my company uses but there are probably hundreds of them
led mike
|
|
|
|
|
led mike wrote: Google: "Monitor memory usage" Server
Thanks, did that, but I'm looking for specific recommendations from the experts here, and not necessarily from the Intertubes at large.
|
|
|
|
|
Hi Everyone,
I want all of you to know that
I've fallen in love with ATLAS. I really have. Somebody help me,
I'm in love with ATLAS and am completely infected.
Help!
ASP - AJAX is SEXY. PERIOD.
|
|
|
|
|
it is definitely a great addition, but there are some pitfalls. You'll soon find a few, then start looking for workarounds.
|
|
|
|
|
Dear All,
i am making web application using asp.net ,C# (Visual studio 2005).i have a web page with couple textbox control that i used to fill date from calender controls.
that is ont textbox is start date and other one is end date. In order to check whether end date is not less then start date . i am using compare validator.
i work fine with normal format but when i change my format to dd/MM/yyyy, It causes problem . that is even i have end date greater then start date. it then also give error message
it work with following format
string str = Calendarstartdt.SelectedDate.ToString("d",DateTimeFormatInfo.InvariantInfo);
but this format show me date as mm/dd/yyyy and i need to show date as dd/mm/yyyy so i change the format as
string str = Calendarstartdt.SelectedDate.ToString("dd/MM/yyyy"); its show ok. but comparevalidator show error message
even if date is greater
Please guide me where i am going wrong.
thanks
regards
imran khan
|
|
|
|
|
Hey peeps,
I have a problem i would like help with.
I have created a webhandler i use for displaying images, its ProcessRequest looks like this.
public void ProcessRequest(HttpContext context)
{
HttpResponse response = context.Response;
HttpRequest request = context.Request;
response.ContentType = "image/jpeg";
response.Cache.SetExpires(DateTime.Now.AddDays(7));
response.Cache.SetCacheability(HttpCacheability.Public);
response.BufferOutput = false;
writeSingleImage(Convert.ToInt32(request.QueryString["ImageID"]), Convert.ToInt32(request.QueryString["Size"]), response.OutputStream);
response.End();
}
The writeSingleImage function just retrieves the image frmo the database and writes it out to the response.
No i have made users able to rotate images, but since the webhandler caches images they wont be able to see changes until their cache expires.
So i want to remove a single cached image when users rotate that image. Hov do i do this. All i done to cache the image is what you see in the ProcessRequest above.
Hope somebody have an idea, because i really dont know too much about caching.
-Anders, DK
|
|
|
|
|
The image is being cached in either the browser's cache or their proxy server's cache (HttpCacheability.Public). So the cache must be cleared by the client. You *might* be able to get around this by adding a random value to the parameter string of the url they use to request the new image. So when they submit the GET request it looks something like this:
?ImageID=34&Size=500&noCache=342
You never have to check the "noCache" parameter, but the browser probably will make the request instead of pulling it from cache because the url has changed.
|
|
|
|
|
Hello,
I understand that this's a strange question and I hope that's the place where I'll find a solution.
I've got a dynamic site (I can't tell the name due to privacy), which is an ASP.NET 1.1 / MSCMS 2002 application.
I need to download each page related to dropdownmenu, for example if a dropdown has got 3 values, I'll have to write down 3 pages, this works....
I've simulated the passage of all parameters by code taking them with an HTTP Traffic Analyzer, but when I open the downloaded page, I receive two times the grid contained in it. This doesn't happen when I open the page from ie. I think that for some items there's a copy of data in CMS but I've never developed with it and I don't know how to solve it, if someone has any idea, suggestion, or had got a problem similar to mine, please write me here or at mail.
I can't publish the url, that I know would help a lot, since the company for which I work doesn't want it.
Thanks
Paolo
|
|
|
|
|
hi friends
i want to know Why multiple Inheritance is not possible in C#?
thanks
pathan
|
|
|
|
|
You can get the reason here[^]
Best Regards,
Apurva Kaushal
|
|
|
|
|
Mainly a protection thing. It saves real programmers from beginners that misuse it.
|
|
|
|
|
Hi there,..
I'm using ASP.NET2.0 and in my application in one textbox if i typed "><M" and press enter means, it shows error as "Unknown Application"..
Can any one plz give idea,..
Thks n Advance
Sam.M<u></u>
Regards n Thks
Sam.M
|
|
|
|
|
|
Hi all,
I am using Gridview to display data.I have to add 5 checkbox columns and I have to save the checked and unchecked values of checkbox in DB.
I want to use Stored Procedure for the same.
Please help me...
|
|
|
|
|
Hi..
U better go to this link "http://msdn.microsoft.com/msdnmag/issues/06/05/cuttingedge/default.aspx" and u can easily identify that..
Regards n Thks
Sam.M
|
|
|
|
|
I'm creating an ASP.NET custom control that will display several LinkButton derived objects with a separator graphic between them. My problem is that I keep getting the following error message if I attempt to put in any LinkButton derived objects: Type 'Lux.Presentation.LuxControls.LuxLinkItem' in Assembly 'Lux.Presentation.LuxControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable."
I'm not sure why it needs to be serializable. I can't find out any reason for this. So, I added the Serializable attribute and I get almost the same error again, but for the LinkButton class. Since the Microsoft control doesn't need to be serializable, I can't see why mine should need to be. I'm obviously missing some piece of the puzzle.
Here is what the code on the ASPX page looks like:
<Lux:LuxLinks ID="LuxLinks1" runat="server" SeparatorImageUrl="~/bullet.gif" Width="100%" >
<Items>
<Lux:LuxLinkItem runat="server" ID="lli1">First Link Button</Lux:LuxLinkItem>
</Items>
</Lux:LuxLinks>
Does anyone have any ideas? Is there anything I could try out?
|
|
|
|
|
Do you add the controls to the viewstate? An object must be serializable to be saved in viewstate.
|
|
|
|
|
Paddy Boyd wrote: Do you add the controls to the viewstate? An object must be serializable to be saved in viewstate.
That makes sense. I've altered my Load and Save Viewstate methods and it works now. I was just dumping the items directly into the viewstate. I though it would automatically call Load/SaveViewstate as needed.
Thanks. I've got this working now.
|
|
|
|