|
Use the CSS style page-brake-before or page-brake-after.
---
b { font-weight: normal; }
|
|
|
|
|
Hi frends
I have developed my web application by using ASP.net 2.0 but not getting the idea to implement this on server .....
as we do in asp.net 1.1 create dll file and put it into bin folder keep all the .aspx files in folder and upload on to web server.....
but in ASP.net 2.0 i am unable to create the DLL file and configure to IIS also...
anybody can help.......
Dinesh Sharma
|
|
|
|
|
Web application contains folder App_Code, which contains files to be compiled (no need of dll, just put these files in this folder). Note that only files placed in this folder are compiled.
If you need to reference dll, then add reference to it as in .NET 1.1, right click your project, add reference... it will create bin folder with referenced dll.
Another idea is to create instalation package which do dirty work for you.
Or check this [url] Visual Studio 2005 Web Deployment Projects [/url]
-- modified at 12:15 Friday 23rd June, 2006
|
|
|
|
|
You can see my post[^] right below.
|
|
|
|
|
We are using ie web controls treeview. We have used client side selectedindexchanged for performance issues. It works fine in IE. But in Netscape rendering is entirely different and posts back for all the clicks. How to make SelectedIndexChange clientside event work in Netscape also.
|
|
|
|
|
As you may already know that the Microsoft TreeView controls renders differently with IE and non-Microsoft browsers, and IMO you'll have 2 options here:
+ Keep using the control, but you need to edit the source code of the control to make it work with non-Microsoft browsers like Netscape.
+ Don't use the Microsoft IE controls, use a third party control instead which support multiple browsers, you can check out the control gallery[^].
|
|
|
|
|
i have 2 tables, table1 and talbe2, these table have relationship: master-detail, for example:
talbe1: id_dept
dept_name
......
table2: id_staf
staf_name
id_dept
i use a datagrid to diaplay data from table1, when i click to id_dept at each rows in datagrid, i want to move detail_page2.aspx and it will display all infomation about staf in dept that has that id_dept. how can i do it??? i want to use Session variable. pl help.
thanks alot.
still alive
|
|
|
|
|
HI,
Why do u want to use session variable.U can Directly use Templete column on 1st page and on ItemDataBound Event u can use this:
if(e.CommandName == "Select")<br />
{<br />
Response.Redirect("detail_page2.aspx?id_dept="+ e.Item.Cells[0].Text);<br />
}
Try this.
Thanks and Regards.
|
|
|
|
|
ok, i will try. thanks any way.
still alive
|
|
|
|
|
I have tried to do this problem but it do not work. the CommandName function does not exist.
you can tell me agian, ok? thanks alot.
still alive
|
|
|
|
|
hi try this :
<asp:TemplateColumn SortExpression="checklist_isoclause" HeaderText="ISO Clause"><br />
<HeaderStyle Font-Bold="True" ForeColor="Black"></HeaderStyle><br />
<ItemStyle Width="300px"></ItemStyle><br />
<ItemTemplate><br />
<asp:LinkButton runat="server" CssClass="GridItemLink" CommandName="Select" Text='<%# DataBinder.Eval ( Container.DataItem, "checklist_isoclause" ) %>'/><br />
</ItemTemplate><br />
</asp:TemplateColumn>
All the best.
|
|
|
|
|
<asp:LinkButton runat="server" CssClass="GridItemLink" CommandName="Select" Text='<%# DataBinder.Eval ( Container.DataItem, "emp_name" ) %>'/>
Put this all in Templete column.
|
|
|
|
|
<asp:LinkButton runat="server" CssClass="GridItemLink" CommandName="Select" Text='<%# DataBinder.Eval ( Container.DataItem, "emp_name" ) %>'/>
Put this all in Templete column.
|
|
|
|
|
Hi
how can i get the processes running in remote system
can someone please help me with this.
Jiny
|
|
|
|
|
|
hey Thanks
i have done this but it works only on ones own machine ,
if the hostname or ip adrress is of remote machine, it says access denied
how do we come over it
|
|
|
|
|
I'm sorry not to see your preponse, but I was offline right after posting the reply at the end of the day, I then had some beers with my friends and watched World Cup football games.
Here, there are a couple of things that I'm not clear and you might want to check:
+ Does the remote machine sits in the same domain as yours?
+ Does the ASP.NET process identity has access to the remote machine. Basically, your ASP.NET application runs under the local account (ASPNET or NETWORK SERVICE) which has limited privilege, so you try to impersonate a domain acount which can access the remote machine when you use the Process class. For more information, see ASP.NET process identity[^]
Btw, if you cannot wait until seeing my reply, you feel free to post a new thread with your new access denied issue so that other people can shed some light on it.
|
|
|
|
|
hello
i keep the dropdownlist in formview in EditItemTemplate and have the sqldatasource of both(dropdownlsit and FormView) is different.i want to update the detail of person along with dropdownlist selecteditem through inline coding. i did specified the commands (insert, update, select, delete ) in configuration mode.
Regards,
srinandan mall
-- modified at 3:46 Friday 23rd June, 2006
|
|
|
|
|
There are a couple of ways to do that:
+ You can use the data binding expression with the Bind method to set the SelectedValue property of the dropdownlist.
+ You can define an Update parameter for the SqlDataSource control, and provide the event handler for the Updating event of the datasource control or the ItemUpdating event of the FormView. In the handler, you can get reference to the dropdownlist to get the selected item, then assign the value to the Update parameter.
|
|
|
|
|
Hi all,
I am working in C#.NET.I want to pick a file name on Button Click event.
Actually when I click on the Button it should open a open file Dialog box as we have when we want to open a document in MS Word or any other and that link should get display in the textbox.
Please help me this.
Thanks in advance.
|
|
|
|
|
protected void button1_Click(object sender, System.EventArgs e)
{
Stream myStream;
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.InitialDirectory = "c:\\" ;
openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*" ;
openFileDialog1.FilterIndex = 2 ;
openFileDialog1.RestoreDirectory = true ;
if(openFileDialog1.ShowDialog() == DialogResult.OK)
{
if((myStream = openFileDialog1.OpenFile())!= null)
{
// Insert code to read the stream here.
TextBox1.Text = openFileDialog1.FileName;
myStream.Close();
}
}
}
Praveen
-- modified at 9:30 Friday 23rd June, 2006
|
|
|
|
|
Hi! All,
I used the dropdownlist control to binding the data from database. But I couldn't display all DataTextField because the data too long to display and I can not enlarge to the size of the web control. then I am thinking how the dropdownlist can be displayed all of text. Then I decided to use the tooltip to show the text in downdownlist when the data is binded.
Is there someboby know how to use the tooltip in dropdownlist control in ASP.NET 2.0
thank you for advance
Jib
|
|
|
|
|
probably this article will help you.
http://www.codeproject.com/useritems/xNetComponents.asp
Best Regards,
Apurva Kaushal
|
|
|
|
|
i hv a datagrid ,in that grid i hv dropdwonlist and the list is dynamically populated through database..i wnt to validate the dropdwn list through javascript,the problem is that the dropdwnlist is underthe datagrid and their ids is change hw can i pick that id of the dropdownlist..
and some one tell me that u can pass the id as the parameter...Would some one help me...........
thanks
|
|
|
|
|
One more thing what you can do is call the function on onchange event of the dropdownlist in the ObItemDataBound event of the datagrid and there pass the client ID to the function.
Best Regards,
Apurva Kaushal
|
|
|
|