|
Hai
what if i want to fix the number of pages displaying in second datalist once i click next it should replace the existing numbers with continuous number some what like << < 1 2 3 > >> when clicked next it should be display like << < 4 5 6 > >>
please help me
thank you
|
|
|
|
|
You need to write a custom pager control to do this.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
may i know what you mean custom page control
|
|
|
|
|
It means you need to write your own control to handle the paging of a data grid, so that it renders the way you want.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have done pagination using another datalist but it display page number continuously like 1 2 3 4 5 ...........2000
how can i fix 1 2 3....10 >>
|
|
|
|
|
|
I have dropdownlist and gridview.When i select an item in drop down i bind the gridview.There is edit item template in girdview so i am able to edit a row.So i select a row to edit and i do not want to change the row,so again i select an item in dropdown and i have values in the grid.When i select the same item in dropdown the edited row is seen.
I do not want to show the edit item ie instead bind the grid without that edited item
if(ddl.selectedValue=="0")
dg.EdititemIndex=-1
BindGridView();
end if
please help...........
|
|
|
|
|
what is your question or your problem?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Can we Use SQL in silver light without using Web services???
Please help me.............
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
I doubt it, given that silverlight is an exe that gets shipped to the client.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am creating a web app. with sqlserver 2000 and if i host this app,how to get the "DataSource" in the Connection String which i use the web.config file for the DB Connection? Most of my friends use the ip address of the web server,is it a gud practise or there is any other way?
|
|
|
|
|
|
Yes ip address or DataSource name given by your Service Provider is written in web.config and the "Key" will be used inyour code to call that connection string.
eg.
add key="xyz" value="server=209.xxx.xxx.xxx;user id=xyz;password=xyz;database=xyz"
|
|
|
|
|
IP address is fine, if you use a name, it needs to be resolved anyhow.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
You have to give the ip address or server name provided by your service provider in the connection string...,with out this you can not establish the connection to the server
|
|
|
|
|
|
Subin Alex wrote: Most of my friends use the ip address of the web server,is it a gud practise or there is any other way?
This is depends where you DB server is. Your friend use IP Address of Web server as DB server, because of they have hosted Database and Web Sites in a Same System.
Subin Alex wrote: is it a gud practise or there is any other way?
It depends on requirements and application. If its very small application then its fine. for large organization they always keeps it different.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi,
I have used AJAX ModalPopup Extender in my site but there is a design issue that the Popup window appears on the left top corner and it is only partially visible in Internet Explorer but it is fine in Mozilla.
In mozilla it is in center.
And I need compatibilty for both browsers.
Can somebody help me out what is the exact problem is???
|
|
|
|
|
Hard to say without seeing code, but if it doesn't work in IE, then I assume that you're doing something wrong.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Christian,
When i am setting dispaly style of my popup panel as
asp Panel ID="PnlTmpPart" runat="server" Width="600px"
style="vertical-align: middle; text-align: center; margin-top: 600px; margin-left: 1000px;" Height="450px"
then it is appearing properly in Internet Explorer but then it is disturbed in Mozzila.
So i think it is typical design issue.
Hope now you get my problem
|
|
|
|
|
OK, sounds like you just need to work out how to get your HTML right. You know you can write code that runs differently based on the host browser ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Ya but i have to search as i havnt used it in this project
can u hav that code right now.
Plz send it to me
Thanks alot.
|
|
|
|
|
i have included mail delivery code in my project. the problem is that,its sending mails to gmail account successfully without delay.But is unable to send mails to other mail accounts like yahoo,in etc.
How can i solve that.
|
|
|
|
|
deepthy.p.m wrote: How can i solve that.
Have you looked at the bulk/spam folders? Yahoo might have marked the message as spam.
|
|
|
|
|
but in in.com i didn't get that mail.but in yahoo.com its in the span .How can i send directly to inbox in all accounts.
|
|
|
|