|
datalist doesn't have builtin paging so you have to go for custom paging. this article will help you to implement that:
http://aspnet.4guysfromrolla.com/articles/091003-1.aspx
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi!
I am retrieving the value from the DB and display that value in the label box & Text
box that values should be go across... I tried marquee tag in HTML before that
controls & inside that control near text .... but i couldn't ge.. How can we get that
one..?
T.Prabu
-- modified at 0:56 Thursday 17th August, 2006
|
|
|
|
|
you put the complete control inside the marquee tag, it will solve the problem.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi Apurva!
I already i tried like that yar., But I didn't get..,
I used like this only:
marquee
asp:Label id="lblCopy1" style="Z-INDEX: 106; LEFT: 264px; POSITION: absolute; TOP: 319px" runat="server" Height="276px" Width="129px">
/asp:Label
/marquee
T.Prabu
-- modified at 1:26 Thursday 17th August, 2006
|
|
|
|
|
You use like this:
<MARQUEE DIRECTION="right" BEHAVIOR="scroll" SCROLLAMOUNT="10" SCROLLDELAY="200" style="Z-INDEX: 106; LEFT: 456px; WIDTH: 400px; POSITION: absolute; TOP: 184px; HEIGHT: 19px">
<asp:TextBox ID="oo" Runat="server" BorderStyle="None">kaushakl</asp:TextBox>
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi Apurva.,
Thanks for ur efforts yar.,
I got that one..
T.Prabu
|
|
|
|
|
Hi Prabu,
i am using this method.
First I change the marquee as a server control.
<marquee id="marq" hspace="10" behavior="scroll" vspace="0" direction="up" height="180" scrollamount="3" runat="server"></marquee>
Then set the 'InnerHtml' property of that marquee from the code behind file.
marq.InnerHtml="Latest News"
Thomas
|
|
|
|
|
Hi Thomas,
Thanks yar., Now its working properly.,
If u free., Can you explain the coding what u sent to me..?
T.Prabu
|
|
|
|
|
Hi Prabu,
I am also a beginner in asp.net. But I like to share my knowledge.
You can mail me. My mail ID is highwayfriend898@hotmail.com
Thomas
|
|
|
|
|
I using VS 2003 create a aspx web page consist a datagrid to show the data. the data retreive from database. So my situation is , i want to change the data in the datagrid and then print the new data without saving into database(means i don't want update to my database, i want remain the old database) ,i want to print out the new data in datagrid ...do u have any idea ?
Best regards,
Chee ken
|
|
|
|
|
you can use dataset for this pupose. What you need to do is to do all the operation in the dataset only.
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
Can anyone plz tell me what's is the different between vb.net and asp.net?
|
|
|
|
|
ASP.NET is a platform for developing web applications.
VB.NET is a programming language.
VB.NET is one of the languages that you can use in ASP.NET.
---
b { font-weight: normal; }
|
|
|
|
|
VB.Net is not a programming language, it is a tool for creating appications.
|
|
|
|
|
Suresh Dayma wrote: VB.Net is not a programming language
Yes, it is.
---
b { font-weight: normal; }
|
|
|
|
|
Can anyone suggest good books for ASP .net. I need books for basics and advanced programming in ASP .net .
Meena
|
|
|
|
|
you can go for the books of wrox publications for begginning of asp.net.
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
Hi,
The mistake is that the varaiable 'presentCount' is initialized to Zero inside of the RowDataBound event handler. So every time the row is created ( it may be header, data , footer, etc. whatever may be) , that variabe is initialized to zero.
Check it !!
Regards,
Jay
|
|
|
|
|
I have a MainMaster Page. I created SubMaster page using the above MainMaster page.
I creted a Content Page called MyContentPage using this SubMaster Page. I have a Label
inside the SubMasterPage. I want to Grab the Value of the Label in my MyContentPage.
This is what i did for this
I have a label like this in SubMaster Page.
asp:Label ID="Label1" runat="server"
In SubMaster Page cs file i just assign a string called Test to the Label1
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
Label1.Text = "Test";
}
}
In MyContentPage i did this below
protected void Page_LoadComplete(object sender, EventArgs e)
{
string test = (Master.FindControl("Label1") as Label).Text;
}
The above one is throwing up an null point exception error
Object reference not set to an instance of an object
Now i Created a content page using the MainMaster Page and repeated the above process
and it seems to work fine(i.e able to pass the label value from MainMaster Page to Content Page)
Can you guys tell me what iam doing wrong with the first case as soon as possible
-- modified at 20:19 Wednesday 16th August, 2006
|
|
|
|
|
Are you using the nested Master Pages? In this case, the simple way to figure out the way to get reference to the Label is to look at the control tree of the web page. You can simply set the Trace="true" in the Page directive or run your application in debug mode. When you see the control hierarchy, you will see that you need to first get reference to the PlaceHolderControl placed in the Main MasterPage, then keep using the FindControl method to access the Label control in the Sub MasterPage. Also you should remember that the Page_Load of the Master Page runs after the Page_Load of the content page, so the value you get in the content page is not what you assign in the Master Page.
|
|
|
|
|
This is such an easy question that I'm embarrassed to ask.
I have a css stylesheet and an asp.net page written in vb.net - how do I apply the stylesheet to the vb.net page ?
Is there a way that I can assign it at a project level so I dont have to set it for each page ?
Thanks, Digsy
|
|
|
|
|
You will have to put this in the <head> of each page:
<link href="Path To Your Style Sheet" rel="stylesheet" type="text/css" />
You could always use a MasterPage, but the style sheet in that, then have all your pages use the MasterPage. It is what they're for.
|
|
|
|
|
Also, you can just drag your stylesheet from solution explorer onto the designer and it puts the link in there automagically.
|
|
|
|