|
Kindly help me, paging a Datalist control, i have no idea how can i do it.
Datagrid often have a paging proeprty, that when set to True automatically handles paging, but what about Datalist???
any help?
:- Rashid Ali -:
|
|
|
|
|
Datalist doesn't support inbuilt paging. For datalist you need to implement the custom paging.
Apurva Kaushal
|
|
|
|
|
i have login secreen that have some validation controls on it to work when i click on login button but it work also when click on cancel button i need to stop validation when click on cacel button
thanks......................
md_refay
|
|
|
|
|
CausesValidation="false" ?
|
|
|
|
|
hello,
set the
set CausesValidation property to false
for that textboxes
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
i found property called validation group in all validator controls
- what is that property
- used for what
md_refay
|
|
|
|
|
you have to textbox's in webform and first box validationgroup property is validator1 and second box validationgroup property is validator2
if you add button to web form and set validationgroup property of button to validator1, then button only validate first box
if set validationgroup property of button to validator2, then button only validate second box
We Can Do Anything, If We Want It
|
|
|
|
|
|
Because it is a query on validation group , have you used the smiley group ?
|
|
|
|
|
Hi. I want to download video from the webserver. iam keeping the Videos in the webserver one folder "Video".How can i download from there.
|
|
|
|
|
Just link them or EMBED right?
|
|
|
|
|
Hello Vasudevan Can u just explain it.or can u get me saome sample code.
|
|
|
|
|
i use required filed validator with textbox in my web site and i put initial value 5 when i run the application i write initial value in text box (5) in text box the expression in the text property of required filed validator that appear when validation falied appear to me like "empty field"
why
how i can deal with it
-- modified at 7:17 Friday 13th July, 2007
md_refay
|
|
|
|
|
Could u post here the Error message ????
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
iam working in asp.net c# 2005 web site and i need to create user control textbox that only apply numbers just to characters or any other thing to put in it how...........
i need this answer very fast thanks alot
md_refay
|
|
|
|
|
TextBox.Attributes.add("onkeypress","return (event.keyCode >= 47 && event.keyCode <=56");
and Place this code in Page_Load event
or
<asp:TextBox ID="txt" runat="server" onkeypress="return (event.keyCode >=48 && event.keyCode <= 57)"></asp:TextBox>
We Can Do Anything, If We Want It
|
|
|
|
|
You should mention that the code is Internet Explorer specific.
---
single minded; short sighted; long gone;
|
|
|
|
|
i want to download the data from uri that will down the page not the view source.
for example: data on the page is as under
100=FT2.0|101=209|102=242|103=Jul 13 2007 1:47PM|31=ZINC|33=31JUL2007|203=3|205=14550|204=11|206=14560|207=14560|208=1|209=Jul 13 2007 1:47PM|216=14521|215=2840|222=5132|211=14450|213=14595|214=14430|212=14465|225=206198200000|223=KGS|224=1
100=FT2.0|101=209|102=259|103=Jul 13 2007 1:47PM|31=SILVERM|33=31AUG2007|203=1|205=1793300|204=2|206=1793400|207=1793400|208=1|209=Jul 13 2007 1:47PM|216=1789512|215=2712|222=9335|211=1786000|213=1794900|214=1784000|212=1786500|225=24265782720|223=KGS|224=1
but after reading using the web client it will get the code from view source like this
100=FT2.0|101=209|102=242|103=Jul 13 2007 1:47PM|31=ZINC|33=31JUL2007|203=3|205=14550|204=11|206=14560|207=14560|208=1|209=Jul 13 2007 1:47PM|216=14521|215=2840|222=5132|211=14450|213=14595|214=14430|212=14465|225=206198200000|223=KGS|224=1 100=FT2.0|101=209|102=259|103=Jul 13 2007 1:47PM|31=SILVERM|33=31AUG2007|203=1|205=1793300|204=2|206=1793400|207=1793400|208=1|209=Jul 13 2007 1:47PM|216=1789512|215=2712|222=9335|211=1786000|213=1794900|214=1784000|212=1786500|225=24265782720|223=KGS|224=1 007|203=1|205=230700|204=1|206=232
<title>GetTouchLine
|
|
|
|
|
Manish Malhotra wrote: i want to download the data from uri that will down the page not the view source.
Sincerly speaking what is data from uri not viewsource ? And what is the data given in the example ? I have never seen anything like that ? Do you mean you want to get the data given in example without any HTML tags ?
|
|
|
|
|
If you want to stop the page code being written after you have written your data to the page (which by its position i assume is being done with response.write ? You can follow it with a response.end which will send the page to the browser without doing the rest.
|
|
|
|
|
Dear All,
I am implementing pagin in my project where I am showing around 10 recordset per page. I want that whenever I click on next page it shouldn't call the database again and again. Data fetching should be done at once. Can anybody tell me how to do this so that I can increase the performance of my database. There are 20,000 records I am getting from this query.
Thanks and Regards,
Virendra
|
|
|
|
|
tou can fetch data from database and store it in xml file before using in gridview or any control, then work with xml file for paging and sorting or ...
We Can Do Anything, If We Want It
|
|
|
|
|
Abolfazl Sheikhloo wrote: tou can fetch data from database and store it in xml file before using in gridview
What is the benefit of doing like this ? Assume 100 user accessing the page same time , will you create 100 XML files ?
|
|
|
|
|
no no no.
you can manage your xml file for all users.
your xml is simulated from database table or view.
for example your xml contains 20,000 record and you need to all records but the database view contains 2,000,000 record and you don't need to all records.
working with 20,000 records is faster than working with 2,000,000 records
We Can Do Anything, If We Want It
|
|
|
|
|
virendra_007 wrote: am implementing pagin in my project where I am showing around 10 recordset per page
What control you are using to show the results ? Is it a datagrid/gridview ? Both supports paging. You can set allowpaging=true and set the pagesize. This method for paging implementation is very easy.
But efficient way will be doing the manual paging. First you need to find the total page by totalrecords/pagesizesize . Then depending on the page number you need to fetch only 10 records(your page size) from the database for that page. So your page may look like this www.yourdomain.com/yourpaging.aspx?page=1 .
|
|
|
|