|
Hiiii,
I have a small problem. I am implementing ClientCallBack and i am not getting how to access the selected value in a grid which have a checkbox.So some one please help me how to get the selected checkbox row values in a grid.
kamal
|
|
|
|
|
I am required to send one newsletter from our web site but when sending the newsletter these letters are either going spam or bulk. can anyone suggest a method to avoid going the newsletter mails to spam or bulk.
Vipin
|
|
|
|
|
Post a message on your site to notify people how to declare your emails as safe. Include detailed into on how to do it in the major email programs
|
|
|
|
|
Your final users have the key, you must to tell them how to add your email adrress to safe mail list.
The other solution is using a big email account provider (gmail, yahoo, hotmail). in order to send your email using this account.
best regards
keep Learning and you never will be out of date...
|
|
|
|
|
I'm guessing that you're sending the same mail to many recipients? If that's the case it'll trigger the spam filters in many email clients (since that's generally the profile of a spam message)...try sending many mails to many people, i.e. just send one at a time with a single recipient...may help, may not, but worth a try
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
hi, im new to asp.net and use the 2005 version
i got some controls from normal vb apps and would like to use with asp.net (if this is possible)
when opening a new normal vb project, in the toolbox i can see the controls in question (after selecting them to be available)
when i do a new wbsite however (asp.net) even if i select that i want these controls, i still dont see them in the toolbox so i cant drag/drop to the page.
i think i'm doing something wrong here and would be glad if you could help.
i got some experience with VB.NET 2003 + 2005 and none in ASP.
thanks
|
|
|
|
|
No you can not use winform controls in a web app. Web controls have to be rendered as html. They aren't even close to the same thing.
|
|
|
|
|
Windows apps use windows controls, web apps use web/html controls.
|
|
|
|
|
thank you both for your answers! i will redo them then and fix a few issues on the way...
thanx again
|
|
|
|
|
hi friends
i get code for buynow button of paypal
i am getting a problem to use it.
my code is
<form name="_cart" action="https://www.paypal.com/cgi-bin/webscr" method="post"><br />
<input type="hidden" name="cmd" value="_cart"><br />
<input type="hidden" name="upload" value="1"><br />
<input type="hidden" name="currency_code" value="USD"><br />
'<br />
'<br />
'<br />
</form>
error is:-
Invalid postback or callback argument. Event validation is enabled using <pages enableeventvalidation="true"> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
plz give me right solution
thanks
Pathan
|
|
|
|
|
Put
<br />
<%@ Page EnableEventValidation="false" %> <br />
in your page directive.
|
|
|
|
|
I have tried it but got no any response.
i mean when i put this code in page directory,buynow button does not work properly.user is not redirected to paypal site.
have anybody integrated with paypal?
plz help me
pathan
|
|
|
|
|
Hi,
Is is possible to call a method such as OnServerValidate? Or any "Protected Sub" for that matter?
Thanks.
|
|
|
|
|
Yes, it is possible. However, I would not do that. If you have code that you would like to execute in more then one place put that could in a private method.
|
|
|
|
|
If you have the time and feel like it, please have a look at my other post. It is the reason I made this post. No one has yet replied.
It is called "Custom Validator". Thank you for the reply.
|
|
|
|
|
|
I have an error class in my asp.net with c# project. It is responsible for handling errors.
Could I handle it, when any exception raises, my class method raise?
If yes, tell me how?
Thanks
Rastgar
|
|
|
|
|
Add a Global.asx file to your application. Put your code in the following method.
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
}
|
|
|
|
|
I know application error event.
But there is a problem with it. I should just redirect to another page in this event else, the page which error is raised, will be redirected to error page. But I’d like my old page is still shown. And I show the error in another page. I know that I should write in this event:
Response.Write("window.open('errorpage.aspx')");
But the page that error raises from that will be still redirected to error page or ASP.Net default errorpage. What should I do to prevent from this redirection?
Thanks
Rastgar
|
|
|
|
|
In your web.config file add the following.
<system.web>
<customErrors mode="Off"></customErrors>
|
|
|
|
|
As I mentioned, if I set this tag off, the asp.net shows the error in old page.
But I want the old page still be shown.
If you get confused, plz read my first and second message again to find out my question correctly. I should clear asp default error and show my old page. But how? Server.clearerro() method just clear the asp error but my old page never be recovered.
thanks
rastgar
|
|
|
|
|
Hi,
I have successfully bound a Dropdown List with table data. I have also inserted extra options. I cannot seem to find anything which allows me to have one of the database options being the default value selected.
I know I can do this:
Dim Lst As New ListItem
Lst.Text = "All"
Lst.Value = "0"
Lst.Selected = True
BUT, How do I specify the SELECTED value to be one which was loaded from a database?
Thank you.
|
|
|
|
|
dropdownlist.Items.FindByValue("value") gives me item in C#, i think you can find that in VB too and then set LstItm.Selected to true.
Regards
Shajeel
|
|
|
|
|
Hi, Thank you for the reply
Worked like a charm! Was also very pleased to find "FindByText" as an option. Thanks again mate
|
|
|
|
|
I'm having a problem with using AJAX with classic ASP
I have a dropdown for country which when selected shows the state.
But when, I'm using the AJAX script the "xmlHttp.responseText" actually shows me the HTML code and the client script of the entire page which is not desirable.
Can anyone send me the code for populating one dropdown based on the selection of another dropdown in classic ASP and AJAX.
any help would be appreciated.
Thanks & regds,
Anirban Deb.
|
|
|
|