|
Here is my code whr i'm getting the parser error
Server Error in '/Rough' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: There can be only one 'page' directive.
Source Error:
Line 1: <%@ Page language="c#" Codebehind="Rough12.aspx.cs" AutoEventWireup="false" Inherits="Rough.Rough12" %>
Line 2: <%@ Page validateRequest="false" %>
Line 3:
Line 4:
|
|
|
|
|
The Knowledge wrote: <%@ Page language="c#" Codebehind="Rough12.aspx.cs" AutoEventWireup="false" Inherits="Rough.Rough12" %>
Line 2: <%@ Page validateRequest="false" %>
Here is the error that clearly mentioned that it should have have only one page directive and you are using 2 Add second validateRequest property into first directive itself
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Yes Sir,
U r absolutely right. Actually i just forgot it and couldn't get the parser error correctly.............
One more question : Now i'm able to send the mail as i'm sending the bold text like name or paragraph at my mail i'm not receiving the text as bold.... I'm getting it like
"Strong then text closing Strong. like text or paragraph not as formatted text".........................
Wht should i do now to get the formatted text as i'm sending at my mail or recipient
|
|
|
|
|
Hi
I got a problem in ASP.NET [Frame work 2.0] WEB Application My Namespace is INVT.WEB i refer this in code behind as
<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="frmIndex.aspx.cs" Inherits="INVT.WEB.frmIndex" %>
I got the following error when i run this project.
Parser Error Message: Could not load type 'INVT.WEB.frmIndex'.
Regards
R.Palanivel
-- modified at 4:06 Wednesday 12th September, 2007
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
How DLL will create in custom controls(in our application)
pavan...
|
|
|
|
|
Can you elaborate your question a bit more? I don't quite get what you are trying to do here.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
how DLL file will be generated in .net?
pavan...
|
|
|
|
|
When you compile your project (Windows/Class library) check Jeffrey Richter's CLR via C# book
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
In composite control, i have created a child control....what are the arguments can i give for that child controls..
Thanks in advance
pavan...
|
|
|
|
|
Hi Everyone,
Using this function it opens the default mail application(msoutlook) but not attaching files. Can anyone help me in this regard.
Mtest = "<script language='javascript'> window.location= 'mailto:test@yahoo.com&subject=testing mail&body=testing&attachment=""""D:/test.log""""';</script>"
Regards,
Manowj
|
|
|
|
|
You can do this a lot easier with the MailMessage and SmtpClient class. That way you don't need javascript to send e-mail from your asp.net website.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog
|
|
|
|
|
Hi WillemM,
Thanks for your response. I need to popup the default mail client(Outlook express/ms outlook) with file attached in client side scripting not as a .NET user screen.
Regards,
Manowj
-- modified at 3:39 Wednesday 12th September, 2007
|
|
|
|
|
is that file is on client's machine?
I mean how can you use path like "D:\test.log" if its not on the client's machine
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
i have develped an application which supports three language spanish, english and french. i have used resource file to achieve this task. My problem is, i am having a web form which contains three label box first name, last name and middle name in resource file i have set the value for all the languages, is it possible to update resource programatically coz the client wants all the fields should be editable & correspondin value should be reflect at the resource file.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
how DLL's will be created in custom controls(in our application)
pavan...
|
|
|
|
|
Please delete this post as you already repost one more query
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
When ScriptManager Control is placed in Content Page the ScriptManager Control is underlined red thereby notifying about an error condition.
Error Condtion is :
"Element ScriptManager is not a known element. This can occur if there is a compilation error in the website."
How do I tackle this problem ?????????/
Sanjay Nicholas Piramal
|
|
|
|
|
Sanjay Nicholas Piramal wrote: When ScriptManager Control is placed in Content Page
I never used such control can you please elaborate some what so that will able to know What is Script Manager Control and why you put that one there
<edited> Again if you are adding anything directly in Master Page content Placeholder in Master it shows that one. Don't worry try to run the application and see what is result
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Try to add this line to your content page (at the top):
<br />
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %><br />
But I'm not that sure about it, because in some files it is present in some not ??
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
Hi all,
I am working on a web project where i have several data entry pages. On these pages i have to fill in First, last and middle names from a dictionary i created which is actually an autocomplete function (not that of Ajax) that is reading from the 3 database tables of first, last and middle names. The goal behind that dictionary is to limit data entry mistakes for those specific fields. Each table contains at least 30,000 name. My function works on loading all the names on client side at page load and that is taking tooooo much time. The technique is working fine after loading the names but my issue is that it is taking so much time. Any one have different ideas for my issue and thanks.
|
|
|
|
|
Whats the code for connecting xml file to form in windows applications and also code for connecting two forms in windows applications
Ramya
|
|
|
|
|
we cannot do your work. r u a student or the programmer.
Do you there is our best friend. try to get the answer from him and leran the concet from the book. these are all very simple.
SSK.
|
|
|
|
|
i didn't understand what you want
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi,
i am developing a c# based web application. I incorporated a radgrid on to my user form, and filled it programmatically.
However i get an indexoutofrangeexception whenever i click to move on to the next page.
Below is the code that i ham using to bound items.
//CODE STARTS
<code>protected void rgCases_ItemDataBound(object sender, Telerik.WebControls.GridItemEventArgs e)
{
int index = e.Item.ItemIndex + (rgCases.PageSize * rgCases.CurrentPageIndex);
if (e.Item is GridDataItem)
{
GridDataItem item = (GridDataItem)e.Item;
lnkBtn = new LinkButton();
lnkBtn.ID = "LinkButton1";
lnkBtn.Text = "<a href='./CasesDetail.aspx?idCase=" + ds.Tables[0].Rows[index][0].ToString() + "'>" + ds.Tables[0].Rows[index][4].ToString() + "</a>";
item["idcase"].Controls.Add(lnkBtn);
}
} </code>
//CODE ENDS
The exception arises in the line
<code>lnkBtn.Text = "<a href='./CasesDetail.aspx?idCase=" + ds.Tables[0].Rows[index][0].ToString() + "'>" + ds.Tables[0].Rows[index][4].ToString() + "</a>"; </code>
The exception detail is as follows
There is no row at position 5.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.IndexOutOfRangeException: There is no row at position 5.
Source Error:
<code>
Line 299: lnkBtn.ID = "LinkButton1";
Line 300:
Line 301: lnkBtn.Text = "<a href='./CasesDetail.aspx?idCase=" + ds.Tables[0].Rows[index][0].ToString() + "'>" + ds.Tables[0].Rows[index][4].ToString() + "</a>";
Line 302: item["idcase"].Controls.Add(lnkBtn);
Line 303: }
</code>
MY page size is 5 as well.
cana nyone please help, if not on how to remove on a TELErIK RAdgrid, atleast tell me, how i can remove on a Grid
thanks,
Kunal
|
|
|
|
|
kunal_gct wrote: There is no row at position 5.
Thanks to Dotnet Exception is clearly mentioning why it is occuring.
Try to debug the application see the content of datset
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|