|
You don't need to precompile the app after it has been deployed. Precompile it, then deploy it. Use the deploy website menu option from within the IDE. Or, precompile the site to location on your machine and create a setup project from that.
only two letters away from being an asset
|
|
|
|
|
Hi.
Datagrid is very simple in graphic ... I want to have a nice datagrid!what should I do? is there any component or code or ...?
for example I want to have a nice line under each row in datagrid ...
What can I do ?
|
|
|
|
|
i guess, your example can be done by using CSS.
If you want a datagrid component with more functionalities then you may try to use ComponenetOne WebGrid. I have tried once and i like it..
|
|
|
|
|
thank you
Where Can I find this component?
ot please tell me more aboute using css.
I know about css but how can I use it in a datagrid?!!
|
|
|
|
|
>>Where Can I find this component?
http://componentone.com/
>>I know about css but how can I use it in a datagrid?!!
Suppose: You wanna change the header style of DataGrid. So, you wrote like that in StyleSheet..
.dgHeaderStyle
{
background: #566495;
background-color: #CEDDFA;
font-family: Verdana, Verdana, Verdana;
color: #000000;
}
Then, Set your CssClass "dgHeaderStyle" to the header style of datagrid.
<HeaderStyle CssClass="dgHeaderStyle"></HeaderStyle>
That's all..
|
|
|
|
|
thank you.
You helped me alot.
|
|
|
|
|
i hear that i .net there's new technology in version 2007 called (ajax)...
i think the name is right
what that techonology?
what is the advantages of that technology?
if there any articales talk in short about that technology and what can we do eith it plz give me it;s link
thanks....
ma_refay
|
|
|
|
|
I'm not so sure what you mean by "version 2007".
I guess,you are asking about ASP.NET Ajax (atlas).
Please check the link below. if you will get a lot of information about ASP.NET Ajax.
ASP.NET Ajax
Hope it would help.
|
|
|
|
|
i need to u the mean of theses phrases
iam new in asp.net iam confused of these phrases and know it;s describation
* virtuall diractory
* auto event wireup(true ,false)
* request
* response
* hastable
* tablemapping
ma_refay
|
|
|
|
|
|
Hello guys ..I am using a datalist which shows list of fields ...Each dataitem contains a repeater...which contains subfields..now the problem is that when datalist is displayed ..it shows lots of empty spaces between fields ..and when displayed in mozilla..the design is disturbed totally.Give me suggestions..I am waiting...
|
|
|
|
|
maybe .you can create a sample project. and upload it...
we will take a look...
|
|
|
|
|
I downloaded the .vsi file but what to do with this file....
I have to download anything for this to get the code in .vsi file....
varun khanna
|
|
|
|
|
Hi all,
I am creating an application in Visual Studion 2005 (Asp.Net )and the language used is C#.Net.It's a Web Based Application .I put a TreeView Control in one my page.But in TreeView Control ,I need to add one more column means ,Its looks like
+ First 2
- Second 3
+ Third
+ Fourth
+ Fifth
+ Seventh 4
The heirarchical list shows the name of some topics inside a book and the right sided number shows the page number.The page number will be a link.How can I create a TreeStructure like this.Or please tell me an alternate solution for this..
Thanks In advance,
Jeeva
|
|
|
|
|
U need to get the Name of the Topics and also the page Numbers in some collection say dataset and then bind to the treeview.
Here is the code..
foreach(DataRow dr in ds.Tables[0].Rows)
{
TreeNode tn = new TreeNode();
tn.Text = dr["Topic_Name"] + " " + dr["PageNumber"];
tn.Value = dr["TopicNo"];
TreeView1.ChildNodes.Add(tn);
}
Hope this will be Useful.
Lavanya Thadde
|
|
|
|
|
Hi,
Can anybody please tell me how can we export data from datagrid to a pdf file.I hve done exporting data from datagrid to excel and word. Please let me know if anybody is having any idea to do with pdf.
Thanks in advance
Thanks and Regards
|
|
|
|
|
Hi:
Following is the sample code. The problem is I have a class called Test and a static variable testString="Hotmail" in it. I am refering this variable using <%></%> tag in my page. The text is not displayed in my page when I run it. But when the text is available in View-Source.
I am getting the value of the static variable in <title> tag. But not in <a></a> tag.
Can anybody help on this?
Thanks in advance.
Muthu.
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<head runat="server">
<title><%=Test.testString %></title>
<script language="javascript" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server" >
<div id ="div1" >
<a href="http://www.hotmail.com" style="background-color: #ff6600; color:Black" title ="<%=Test.testString%>"></a>
</div>
</form>
</body>
<html>
-- modified at 15:57 Friday 16th February, 2007
|
|
|
|
|
Do you mean the string that you don't output between the start tag and the end tag of the link?
Gee... I wonder why that isn't showing up on the page...
---
single minded; short sighted; long gone;
|
|
|
|
|
Yes. But it shows up in the page title tag. Not in link title tag.
Muthu
|
|
|
|
|
I tried hour code. This is the result:
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<head><title>
Hotmail
</title>
<script language="javascript" type="text/javascript"></script>
</head>
<body>
<form name="form1" method="post" action="Default.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTcwMTA2MDUyMQ9kFgICAQ8WAh4EVGV4dAUEYXNkZmRkun75GOWkWTwjDWDof9T4GIHhF04=" />
</div>
<div id ="div1" >
<a href="http://www.hotmail.com" style="background-color: #ff6600; color:Black" title ="Hotmail"></a>
</div>
</form>
</body>
<html>
As you see, the string is both in the page title and the link title.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi.
I have used a datagrid in my project.
Usually ( or always ) Columns of a datasource is next to eachother as it shown in datagrid.
for example datagrid shows like this :
Header1 Header2
databound databound
Now,my question is :
Can I have these columns under each other ?
like this :
Header 1 databound
Header 2 databound
how can I do that ?
|
|
|
|
|
You can use a DataList control and modify its ItemTemplate property to view what you want.
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
Thank you very much but I want to use datagrid not datalist ...its better I think.
any other ideas about direction of datagrid as I asked above?
|
|
|
|
|
Hello all,
I am working on a website which is using Forms Authentication.
For example we have different Roles as Admin and LocalUsers. LocalUser cannot view the Admin Menu Items and cannot access the Admin Pages.
But if the User Copies and Pastes the URL for Admin Page, while he is logged on as a LocalUser, he can see the Admin Page even though he do not have permissions to view that page.
I know that we can check the Roles in the PageLoad before giving access to the Page by User.ISINRole("Admin") and if does not have that role, I can Redirect him to the Login Page.
But is there any centralized way where we can do this. Or do we need to check the Roles in each and Every page.
Thanks In Advance
|
|
|
|
|
ASP.NET 1.1
When I'm working on ASP.NET 1.1 projects, I used to create a basepage class that can be inherited from all child classes.
So, we can check the permission of the user in basepage for all pages.
ASP.NET 2.0
Master Page can be used instead of BasePage Class.
|
|
|
|