|
Hi,
Thanks for your response.I need to bind the Menu Control(in asp.net 2.0)
from database.(Dynamically).I request you to give me the sample code for that.Hope u understood my query.
Lijo
|
|
|
|
|
|
I have a table in MasterPage like this;
<table border="0" cellpadding="0" cellspacing="0" style="width: 800px; height: 100%">
<tr>
<td colspan="2" style="height: 126px; width: 800px;">
TITLE
</td>
</tr>
<tr>
<td style="width: 172px; height: 26px;">
ROW1
</td>
<td rowspan="3" style="height : 100%; width : 632px;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td style="width: 172px; height: 26px;">
ROW2
</td>
</tr>
<tr>
<td style="width: 172px; height: auto;">
ROW3
</td>
</tr>
</table>
Table Preview
TITLE
---------------------------
ROW1 | ContentPlaceHolder1
ROW2 |
ROW3 |
ROW1 and ROW2 height is 26px, and ROW3 height is auto. So I want; for example if ContentPlaceHolder1 heigh is 100px so ROW3 height automatically 48px. Another example if ContentPlaceHolder1 heigh is 200px so ROW3 height automatically 148px.
But this is not work, all row equally expand. I want to ROW1 and ROW2 must be 26px. How can I do?
Best Regards...
-- modified at 5:04 Tuesday 23rd October, 2007
|
|
|
|
|
height for table cells/rows can be achieved by placing a transparent gif image inside the td and set the height of the image instead of the td itself. So create a transparent gif of 1px height and 1px width and use that image in row2 and row3 and set their height as required.
-----
|
|
|
|
|
is it possible to set the position of an output
i want to display the output at a specific position in the page without using contols.ie,using response.write
I am fetching product name and the corresponding link from the database i want to display the product name and when click on it i have to go the corresponding page.search button ia also there.the products similar to that we typed will also have to display.that's why i am using response.write.But I don't want to display these at the beginning of the page.if anyone have a solution for this plse send.
if we use a div then the controls placed at the top of the page is moving down
|
|
|
|
|
You have asked this queston three times now. Are you hoping for the answers to change ?
Why don't you want to use controls ? There is NO way to control where response.write will output. As you've been told several times....
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
What's not working ? Using a literal or something to position the text ? What do you mean by 'not working' ? The right approach here is to say 'here's my code, here's what's going on, how do I make it do this ?'. The wrong approach is to assume because your first attempt to do something the right way didn't work, you need to post daily until someone invents a way to do something that the framework does not support.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
well said. I too was surprised to see such a question.
|
|
|
|
|
Response.write writes the text from top of the page...i think u can't set the position of the output using Response.write...Try setting the 'padding' style for and then place your text in the inside a table...
Koushik
|
|
|
|
|
hello friends,
I created one asp.net(with vb.net) project in Microsoft Visual Studio 2003 ,now i want to publish that project in website,i want details about how to deploy that asp.net project and how to upload that project in net.
Advance thanks.
srinivasan.s
-- modified at 5:17 Tuesday 23rd October, 2007
|
|
|
|
|
Get it Web Deployment Project
Install It.You will get option in solution explorer after that you can deploy your web project in the server
beSt regarD
patHan
|
|
|
|
|
hi frnd thnx for reply.
but that is support 2005 Standard Edition,i did project in 2003 plz give some other solution.
|
|
|
|
|
|
method 1 :
copy your folder and put into c:\inetpub\wwwroot\ this folder.and goto folder properties.There web sharing folder will be there. Give all permissions which are unchecked.this means that you are creating virtual server for that.
then it may work fine.
method 2 :
goto control panel ->adminstrative tools ->Internet Information services
here you can see you folder ... right click your folder and in that u create a virtual directory for your folder.then it will work.
known is a drop but unknown is an ocean.
|
|
|
|
|
Create a virtual Directory for your application in the web server and Copy all the relevant files that is needed to run the application to the virtual directory. it's done.
Regards - J O N -
|
|
|
|
|
Hi
am getting service unavailable error for my application pool and when i restart application pool it is running for some 2 or 3 days and then again am getting this error.
Can any one please tell me is this the problem with server settings or with the code in aspx pages(I found no infinite loops in the code while i run the application locally).
i already checked registries for permissions all registries have full permissions.
Here is the error log
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1002
Date: 9/16/2007
Time: 6:32:50 AM
User: N/A
Computer: ALPHA1
Description:
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Before shutdown, I always get a load of these:
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1013
Date: 9/16/2007
Time: 6:31:50 AM
User: N/A
Computer: ALPHA1
Description:
A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '3796'.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
any help appreciated.
Thanks
|
|
|
|
|
The application pool that your website is running under is configured to shut down if a particular threshold of unhandled exceptions is reached within a particular time period. Check the event log to see their details. You can change the error threshold if required through IIS, but your time is probably better spent identifying and fixing the bugs in your application code that are causing the exceptions.
Paul Marfleet
|
|
|
|
|
hi friends
how to close the popup window from codebehind in .net
regards
saravan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
Page.ClientScript.RegisterClientScriptBlock(
this.GetType()
,"ClosePopupScript"
,"window.close()"
,true);
From the popup window page's code-behind.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
But its the javascript only you are only registring it from server
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i think not possible as the pop window will come at the client side.
Server does not know anything about the pop up window
you need to do it client side and write a javascript for that
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I think It's possible. Even if it's a pop-up window the page will run at the server-side. At the server-side there are way's to build javascript dynamically in the CodeBehind using
ClientScript.RegisterStartupScript,<br />
ClientScript.RegisterClientScriptInclude .
Regards - J O N -
|
|
|
|
|
Yes i agree to some extent as we interpreted the quesition in differnt way .
Just your post said that you can generate javascript dynamically yes very true but you can't close that pop up window from server side (code behind) as your script will run at client side you just registering it,not calling.
It is going to execute at client side only
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: but you can't close that pop up window from server side (code behind) as your script will run at client side you just registering it,not calling.
It is going to execute at client side only
I interpreted your previous post in a different way. what you said here made it clear.
Regards - J O N -
|
|
|
|