|
ok, Sir;
try the following:
1. Start a new web project/site.
2. copy the code and paste it and into new files.
3. build the project/site.
4. run the project/site.
Good Luck
Help people,so poeple can help you.
|
|
|
|
|
When i click on link button,an error occurs
The state information is invalid for this page and might be corrupted.
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.Web.HttpException: The state information is invalid for this page and might be corrupted.
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MainMaster.master.cs" Inherits="MainMaster" EnableViewState="false" %>
How to solve this error?
|
|
|
|
|
|
I have search google,but I do'nt understand where is the problem.This error occures only whent i clicked link button.
|
|
|
|
|
Guys, i got stuck with the some functionality, which i really needed for a tool.. Can we create a ascx file at runtime??.
My tool uses ascx file, to display a widget.. Now i want to create widgets at runtime, so i need to create ascx file runtime. Is this Possible any answers?? Please help me to move forward.
Thanks in advance..!
|
|
|
|
|
So, you need an XML parser
Help people,so poeple can help you.
|
|
|
|
|
hi
i am using visual web developer 2010 express
i am new to it
1)is there any control which looks like a label but acts like a button if so i need to know it(labelbutton if any),where is it
2)i am having a button in master page on the click of which should go to an aspx page so how to call it can anyone help me with it.
K.Gayathri
|
|
|
|
|
Perhaps you need to learn a little of ASP.NET here:
- http://asp.net-tutorials.com/[^]
MalarGayu wrote: 1)
<asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>
MalarGayu wrote: 2)
Set the onclick event of the button and access the onclick from code behind:
-Design View
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
- Codebehind
protected void Button1_Click( object sender, EventArgs e )
{
}
|
|
|
|
|
You can use Link Button,and to provide look like Linkbutton set properties as
<asp:LinkButton ID="LinkButton11" runat="server" Font-Underline="False"
CausesValidation="False" onclick="LinkButton2_Click"><font color="white" size="1">DEPARTMENTS</font></asp:LinkButton>
|
|
|
|
|
Hi,
I want to disable the checkbox if the gridview cell 4 has KS value.
Getting object reference not set in gv=Gridview1.SelectedRow
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
GridViewRow gv ;
gv =GridView1.SelectedRow;
if (gv.Cells[4].Text == "KS")
{
if (gv.RowType == DataControlRowType.DataRow)
{
CheckBox chkDelete = (CheckBox)gv.Cells[0].Controls[0];
chkDelete.Enabled = false;
}
}
}
Need help
Thanks
S.Guhananth
|
|
|
|
|
when working in .net 2010 ajax tap container does not appear but appear in .net 2008.
|
|
|
|
|
midosoft1 wrote: tap
Well, there's no "tap"...
You mean the ajax extension tab in the toolbox?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
no i talked about AjaxTabContainer Control the ajax control.
|
|
|
|
|
midosoft1 wrote: AjaxTabContainer Control the ajax control
I thought so but with your typo I was only asking for clarity.
http://weblogs.asp.net/yousefjadallah/archive/2010/04/16/installing-ajax-control-toolkit-4-in-visual-studio-2010.aspx[^] might help you if you haven't already found this...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi,
I have a website that I want to send lots of email to my member like codeproject but I don't want to send it as spam how can I do to send this in inbox mail NOT spam?
Thanks.
|
|
|
|
|
You can't. The spam detection is done at the client end, using rules the client has set up. For example, my spam filter is set to detect anything which contains "$$$" or the word "Rolex". If a Codeproject email arrived with those in, it would be treated as spam.
The best you can do it send actually useful information, and hope that the client adds you to the non-spam list himself. If you "send lots of email" to people though, there is an increasing chance that you will go straight onto the spam list - you would with me.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
defenitly my information is useful for my user but when you send lots of email more than 10000 the gmail or yahoo or ... engine think these are spam so what should I do to avoid that?
Thanks.
|
|
|
|
|
Use a mail server that does not have these restrictions.
0100000101101110011001000111001011101001
|
|
|
|
|
Which mailserver?explain more. my sait have a mailserver too but yahoo And gmail think they are spam
|
|
|
|
|
Buy access to a reputable and trusted mail server.
or
Find out why Gmail and Yahoo have blacklisted your own mail server and try having it removed from the blacklist. If you known why you have been blacklisted you can avoid the cause the next time.
0100000101101110011001000111001011101001
|
|
|
|
|
As Andre says - don't send emails that fast from gmail or yahoo. Even some web hosts will assume you are a spambot if you start sending too fast and will block your account.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
As you said I khow that don't send emails fast and at this moment in my site I send some email and afterward send again but I want to sent lots of them at once I'm sure it has another solution so do you have any solution?
|
|
|
|
|
I have a web page that invokes a web service methods to get records displayed on the web page. What happens if two website users vistit the web page at the same time. Two simultaneous requests will be sent to the web service. Should a mechanism be used to enforce exclusive invokation of the web service ?
Currently no such mechanism is used in the web page and some times timeout error generated when invoking the web service. I doubt such error is caused by lack of mutal exclusion support when invoking web service.
What is the best practice when implementing the web page in question ?
modified 9-Oct-11 9:56am.
|
|
|
|
|
Hi,
when two separate webpages perform a request to the server either by calling a webservice or some other request medium, you have no control over what happens once a request is sent to the server. It is two different REQUESTS transmitted in TWO different REQUEST CHANNELS, IIS on your server will manage all of this for you.
Your server will respond to these two requests separately and simultaneously. Remember that both your clients are important so you don't want to serve one client and deny the other, the only way to resolve this is to make your server a much faster machine.
I can imagine that one day your site will be "live" and 1000+ people will make requests to the webservice at the same time! implementing a mechanism to control which request is served first is really something done by IIS(internet Information Service) and you shouldn't bother, you will kill yourself.
Happy coding,
Morgs
|
|
|
|
|
Thanks for reply.
Maybe I couldn't explain well. The web page in the website invokes a remote web sevice. When two users visit the same web page it means two simultaneous requests are made to the web service both of which are originated from the same Ip address. The matter is they are from the same Ip address. I doubt wether the web service can handle that or a machanism must be used in web page. Or maybe the server can be cofigured to allow such simultanous requests or not ?
|
|
|
|