|
Add follwoing style to get scroll bar:
style="overflow: auto"
|
|
|
|
|
when i add two new , the first div comes under the second, but i need it comes horizontally,please help me
|
|
|
|
|
Try this sample it may help
<style type="text/css">
*{margin:0;padding:0;}
body{font-family:Arial;font-size:8pt;}
#container{width:350px;border:3px dashed #fc6;margin:10px auto;padding:10px;height:300px;}
#left{text-align:center;float:left;margin:3px auto;}
#right{text-align:center;float:right;}
</style>
<div id="container">
<div id="left">
<b>Monday</b>
Buy any two sandwiches
<br/> and get the third FREE
</div>
<div id="right">
<b>Tuesday</b>
Choose any appitizer
<br/>
for just $3 with any
<br/>
order of $10 or more
</div>
</div>
i Got It from Little bit of search..!
Source:-http://www.htmlforums.com/html-xhtml/t-table-style-question-101800.html[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
check this article will give you proper idea
DIV TABLE[^]
|
|
|
|
|
Nice Article..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
use style tag of div as style="float:left;"
Cheers!!
Brij
|
|
|
|
|
Dear All,
i want to programatically convert PDF files to excel file. is there any SDK compatible for ASP.NET 3.5 is available ?
i have tried one .dll from http://www.investintech.com/products/developer/developertools/pdftoexcel/ , this is working fine but i want to try for any other SDK which will cost less than this.
Pls. some help me in this regard
Mohan
Mohan G
|
|
|
|
|
|
What to do if any font is not supported by browser?
krishna veer singh
|
|
|
|
|
You can specify a number of fonts through styles or, better, CSS so that if the first font in the list isn't available it will try the next and so on.
Like this:
html, body { font-family: Verdana, Tahoma, Arial, Helvetica, 'MS Sans Serif'; ... etc, etc.
|
|
|
|
|
Hi,
I have a tab strip (telerik), with 3 tabs. Each tab strip opens a separate Web Control.
When i add javascript to first control's (pageload) on the first tab, the javascript works but when i add it in second or 3rd tab (user control page load),javascript doesnot render to page. (i cant see it in ViewSource)
Please note that i cannot add javascript in the designer for page so am adding the script at runtime on page load.
The javascript also works when added in Parent Page. It only doesnt work in 2nd,3rd tab controls. It starts working from 3rd tab when added on parent or first tab control. (and i am not allowed to add anything outside this 3rd tab control)
My code for script is
dim script as string = "<script language=""javascript""> function Check(){alert('hello');}</script>"
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(),"mycustomScript",script,false)
Also i have tried RegisterStartupScript. The controls contains Ajax (RadControls) and script manager is added to parent page.The Manager Proxy is added to each page separately.
Please provide help in this regard
Best Regards
haseeb
|
|
|
|
|
Try this
ScriptManager.RegisterStartupScript(this, GetType(),
"ServerControlScript", script, true);
|
|
|
|
|
Use scriptmanager to register the script,It is required when we use ajax on the page.
Cheers!!
Brij
|
|
|
|
|
ok sorry i thought he used rad control with the scriptmanager control of ajax toolkist
|
|
|
|
|
hi, thanx for ur reply... if u mean to use something like this
dim cs as scriptmanager = page.clientscript
cs.RegisterClientScript(args)
then this also doesn't work. otherwise can u please provide a sample code...
Thanks ,
|
|
|
|
|
When we use ajax on our page a scriptmanager class is found on the aspx.cs page and then we use this class to register the script.The code will be like below.
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), this.ClientID, "ShowMessage();", true);
Cheers!!
Brij
|
|
|
|
|
Hi all
I am working on a asp.net application. There is a requirement to create reports. I am using SQL server 2008. What is the best solution, RDL or RDLC?
Please advice
Thanks in advance
Prosanta
|
|
|
|
|
Prosanta Kundu online wrote: I am working on a asp.net application
If it is asp.net application
Use RDLC instead of RDl..! and present the reports in report viewer..!
If you want to use only reports then use rdl files and display it thr reportserver
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
RDL files creation is through SQL 2005->Report Designer and RDLC files creation is through VS 2005->Report Designer
also RDL and RDLC formats have the same XML schema but in RDLC files, some values (Query Text) are allowed to be empty, which means that they are not immediately ready to be published to a Report Server. The missing values can be entered by opening the RDLC file using the SQL Server 2005 version of Report Designer.......
thats what i think!!!
|
|
|
|
|
Archana,India wrote: RDL files creation is through SQL 2005->Report Designer and RDLC files creation is through VS 2005->Report Designer
Yes You are correct..!
After This I didnt Get it..!
I created Both Types of applictions..!
I got very Good help from this forum..!
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/threads[^]
Archana,India wrote: The missing values can be entered by opening the RDLC file using the SQL Server 2005 version of Report Designe
I think You are talking abt parameters they can be left blank in any type of the file ..!
What exactly You are trying to develop..!
In rdlc files u need to display the files using reportviewer control ..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Respected,
Below is my code :
If Session("DataTableForPrint") IsNot Nothing Then
Dim st As String = "<script language='javascript'>" & _
"window.open(Report_fees_Collection.aspx)" & _
"</script>"
Page.ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", st, True)
It not work please help me .
thanks
|
|
|
|
|
|
|
if you want to give true means no need to add script tag in string
|
|
|
|
|
Dear All,
I am searching for oops + asp.net web application on this site so that i can implement oops concept in my asp.net web project. please help me to send some links.
Thanks in advance
Yrishi
|
|
|
|