|
I have a single templated column in a DataGrid, in an ASP.NET 2 web site. The DataGrid is paged, with ten rows per page.
In Firefox, all is good, as nearly always, but when I view the site trough IE, I get the following exception:
“ Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page.”
Any ideas on what may cause this?
|
|
|
|
|
Hello EveryOne..
I want to show thousands of thousands distinct records in a Dropdownlist for single coulmn.
due to this page runs very slow.....
Is It possible to do a pagination Dropdownlist....?.
if Yes : then
i want user will able to see 15 records at time & then pagination(i.e., [Up and Down arrows] OR [Prev or NextButtons]).
or else
pls suggest what to do in this situation
Thanks..
T&R,
bhaskar
|
|
|
|
|
From where are you going to read records? why are you going to show thousands of records in dropdown list ? First Think About this question !
Try to show records as minimum as records possible is dropdown , use filter on records based on user.
If you have to then you can use Ajax for retreiving data from data bases, that based on user input, you will search data from database.
cheers,
Abhijit
|
|
|
|
|
Hi ...
ALL i m fetching from Database!!!
Records are not showing as per user. Its been showing as per Regions.
& the Field i m using to display is Deal No.
I'll Tell u my requirement..
I m having a grid...is has got result of morethan 20 to 30 thousand of records...at time i m showing only ..30 records in a grid..
Some of my columns of grid has Header Dropdownlist which is used to filter the grid records.
In header Dropdownlist i m showing all distinct values of that column.
Hope u got the point..Now tell me is it possible to have pagination in dropdownlist..?
Cheers
T&R,
bhaskar
|
|
|
|
|
Bhaskar141985 wrote: I m having a grid...is has got result of morethan 20 to 30 thousand of records...at time
you are going to read all data at a time ?
Bhaskar141985 wrote: 30 records in a grid..
You are going to use paging in Grid ?
Bhaskar141985 wrote: Some of my columns of grid has Header Dropdownlist which is used to filter the grid records.
In header Dropdownlist i m showing all distinct values of that column.
Based on user selection , you will show data to user , which will be retreive from data or already loaded in dataset?
can you please confirm those .
cheers,
Abhijit
|
|
|
|
|
Hi Coders
Could u tell me how can i Make report from database in ASP.net.
Any help would be appreciated
Amit
|
|
|
|
|
Hi,
there are several options; you could use crystal reports or program a website displaying a gridview as report etc.
Regards
Sebastian
P.S.: Please be so kind to be more specific about the problem. (And as others already mentioned, use google first )
|
|
|
|
|
Could u tell me by .rdlc and Report Viewer
|
|
|
|
|
Use Crystal Reports
cheers,
Abhijit
|
|
|
|
|
Only as a last resort - I hate it
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Crystal will work if it also loaded on ur server but i use by report Viewer & rdlc
could u guide me for this.
Thanks
|
|
|
|
|
hi,
i want to show an image in crystal report of my web application according to condition like which emp data i want to show that emp imges also show in crystal report..
How can it posible.. plz help
|
|
|
|
|
Hi guy i have created one sample webservice project...,
In wsdl file we can get our class and method and urls..,
Its possible to get another one?,
Suppose if any one knows my class and method name, then its possible to access my datas?
If possible how to secure my datas?
guide me plz
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
|
i am trying to call server side function like this
<br />
<asp:button id="btn_submit" runat="server" xmlns:asp="#unknown"><br />
OnClientClick="'<%= checkcategory() %>'" OnClick="btn_submit_Click1" Text="Submit" /><br />
<br />
</asp:button>
it was not working can u provide me the solution
thanks in advance
learning developer
|
|
|
|
|
Hi,
the server-function that will be called is "btn_submit_Click1". So you don't need the OnClientClick.
Regards
Sebastian
P.S.: Oh wait, you could also try to use AJAX, but that's more sophisticated. What do you want to achieve?
|
|
|
|
|
The server event will be attached to
btn_submit_Click1
Im assuming your hoping checkcategory() would be called from OnClientClick. OnClientClick is reserved for JavaScript which has no direct relationship with the server.
You would need to call checkcategory (assuming its a server side function) in btn_submit_click1. Or if you explicitly needed to call checkcategory from the client side function you would use Ajax (Google it!)
FYI, calling a javascript function from OnClientClick would be
OnClientClick="checkCategory()"
function checkCategory()
{
alert("CheckCategory Called..");
}
James Simpson
Web Developer
imebgo@hotmail.com
P S - This is what part of the alphabet would look like if Q and R were eliminated Mitch Hedberg
|
|
|
|
|
how can i activate cross site scripting for my web site so that i can use an Ajax controls on my 2nd site which open inside the first site.I am using iframe.
|
|
|
|
|
Cross site scripting[^] is a bad thing. You don't want to activate it. You should be trying to prevent it.
Simon
|
|
|
|
|
Both the sites belongs to me and that is what the client requirement is ,u could u suggest me any other method to do it if not cross scripting...
|
|
|
|
|
Hello Friend,
I'm sending mail at my domain server then i'm getting mail by using my mail server but when i'm sending mail at my gmail account using my mail server it's not sending the mail and raising an error
MailBox Unavailable The server response was : No Such user here
I'm using the following code plz suggest the way..........
MailMessage mail = new MailMessage();
MailAddress address = new MailAddress("halo@gmail.com", "Testing Mail");
mail.From = address;
mail.To.Add("raushanraj2@gmail.com");
mail.Subject = "Hello How R U";
mail.Body = "Dear Friend<br> How R U";
mail.IsBodyHtml=false;
string host = "myMailServer";
SmtpClient smtp = new SmtpClient(host, 25);
try
{
smtp.Send(mail);
Response.Write("Mail Sent Successfully");
}
catch(Exception ex)
{
Response.Write(ex.Message.ToString());
}
|
|
|
|
|
Have you managed to get e-mails sent to a different account?
Why are you declaring two e-mail addresses?
Formerly know as .netman
|
|
|
|
|
Probably because your from address is a gmail account which doesn't exist on your mail server...
|
|
|
|
|
Really that account exist
modified on Friday, October 17, 2008 8:36 AM
|
|
|
|
|
Is there a way to use the asp:CreateUserWizard control to set focus to the Create User button.
What I want is for the Create User button to have focus after the user has re-typed their password. Thus, if he now presses return/enter, the user is created...
Any help would be much appreciated.
|
|
|
|