|
I've been developing with c# and forms and I use the Split Container heavily because it automatically resizes when in full-screen. What is the recommendation with asp.net to accomplish this? What control should I use to lay out the various panels on the screen.
|
|
|
|
|
It's not maybe a question of controls - there are a number of ways of laying out a web page - you might want to have a look at www.csszengarden.com[^] or http://www.alistapart.com/[^].
There are many more things to think about when laying out a web form (e.g. cross browser capability) than when laying out a win form.
Hope that helps. 
|
|
|
|
|
HI,
We are developing one application in ASP.NET to monitor web sites which is running in the server(WEB SERVER).we need to monitor single URL and also sequence URL to know the status of server,when the server is getting down.If server is getting down means we need to send SMS alert Message to Adminstartor.Kindly any one can help me how to proceed in technically.I am new to this topic.Plz suggest some technical guidence.If you post any articals means its help full to me to know.PLZ its very urgentttttttttttttttttttt.Kindly help me.THANKS IN ADVANCE
DeviChella
|
|
|
|
|
Hi everybody,
Is there any way to implement VCalendar using C# in asp.net? I have List of events in datagrid, in which i am showing only dates in the datagrid.when someone click on a row in datagrid, it will display the details for that date's event in tabular format using a javascript function on a same page.I have one hyperlink to add that details in the microsoft outlook. when some one click on that hyperlink, the displayed event will be added to the outlook.I am very confuse with this as I am implementing first time.
If any body can help me with some code, it will be great for me.
Thank you very much.
Robin
|
|
|
|
|
I'm trying to compile a module that I've written for DotNetNuke. (Actual I have compiled it without problem.)
When I generate the web site the DLL for that module has a wacky mangled name. Is there anyway to tell the compiler (VS2005) what the name of the DLL should be for a module that you are compiling? (For any cs or vb file that you're compling...)
Thanks
|
|
|
|
|
Hi there.
I've created a 3D dynamic virtual tour with asp.net/atlas (editor) and java3d.
Please post your impressions!
To show go here: http://davil.exent.it/virtualtour
here a preview: http://davil.exent.it/virtualtour/preview.jpg
Thanks for your impressions!
DaViL
|
|
|
|
|
|
I have a drop down list (not attached to my datagrid anymore for those of you on the saga with me). I just want to populate this plain old drop-down box. But I can't get it to populate. I could get it to populate when I had it inside a datagrid, so I'm sure it's something easy.
Here is my asp code:
<asp:dropdownlist id=ddPartType style="Z-INDEX: 101; LEFT: 104px; POSITION: absolute; TOP: 48px" tabIndex=1 runat="server" Width="144px" Height="24px" DataSource="<%# GetPartTypes()%>" DataTextField="ptDescription" DataValueField="ptId" EnableViewState="True" AutoPostBack="True"><br />
</asp:dropdownlist>
All I'm doing is calling GetPartTypes. Okay, here's that code (C#)
public DataSet GetPartTypes()<br />
{<br />
ds3 = new DataSet();<br />
ds3= SqlHelper.ExecuteDataset(this.connectionString, "dbo.GetDescriptions", null); <br />
dt3 = ds3.Tables[0];<br />
ds3.Tables[0].TableName="PartTypes";<br />
ddPartType.DataSource = ds3;<br />
ddPartType.DataBind();<br />
return ds3;<br />
<br />
}
This calls a stored procedure, GetDescriptions. I know this code works because it executes in Query Analyzer. It's just basically return the descriptions and order by description.
Going through the debugger it's like the code never gets called. So I delibrately called it in PageLoad and got a stack overflow.
BLECH!
Follow up: Okay I can get it to populate if I put the code in the PageLoad. Is this the only way to do it? Or is there something similiar to what I was trying to do?
-- modified at 16:09 Monday 10th July, 2006
|
|
|
|
|
Remove DataSource="<%# GetPartTypes()%>"
When you assign the datasource in the page load it is trying to bind to the method you have defined, which again calls DataBind, which again calls this method, which...see where the stack overflow comes in?
|
|
|
|
|
|
I want to change my session variable to a query string but not finding a lot of info on actually how to program them.
On page 1 of my asp.net application the user enters a part number in a textbox. So I have:
strPartNumberInputReference = txtSearchPart.Text;<br />
Session["ptNum"] = strPartNumberInputReference;
On subsequent pages I call:
partNumber2 = Session["ptNum"].ToString();
So if I want to use a query string do I just change the first page to:
strPartNumberInputReference = txtSearchPart.Text;<br />
strPartNumberInputReference = Request.QueryString["strPartNumberInputReference"]
So 2 questions:
1. Am I writing the above correctly?
2. How do I call in subsuquent pages?
Thanks!
|
|
|
|
|
No.
<br />
strPartNumberInputReference = txtSearchPart.Text;<br />
<br />
response.Redirect(url & "?strPartNumberInputReference=" & strPartNumberInputReference )<br />
|
|
|
|
|
So how do I use it in subsequent pages?
Do I just declare strPartNumberInputReference again or do I use:
strPartNumberInputReference = Request.QueryString["strPartNumberInputReference"];
Thanks for your help!
|
|
|
|
|
Option 2. Web pages are stateless by default, so you are just passing your parameter, as a string in the url, that is all. It's very different from the way that session works.
|
|
|
|
|
Okay, trying to do the response redirect:
Response.Redirect ("...Pages/Add_Weight.aspx" & "?strPartNumberInputReference=" & strPartNumberInputReference );
Getting a compiler error: "Operator '&' cannot be applied to operands of type 'string' and 'string'
What am I doing wrong?
|
|
|
|
|
<br />
Response.Redirect ("...Pages/Add_Weight.aspx"?strPartNumberInputReference=" + strPartNumberInputReference );<br />
|
|
|
|
|
|
Okay, there are only three quotations in your code. Still getting compiler error. Tried as you wrote and said ; and ) expected. Tried the following:
Response.Redirect ("...Pages/Add_Weight.aspx"?strPartNumberInputReference=" + strPartNumberInputReference" ); and got ) expected.
Am I missing parenthesis or is it the quotes?
THANK YOU!
Okay, got it to work with the following:
Response.Redirect ("Add_Weight.aspx?strPartNumberInputReference=" + strPartNumberInputReference);
Had an extra quotation. Hopefully I won't have any more problems!
-- modified at 14:15 Monday 10th July, 2006
|
|
|
|
|
I have a component art grid inside user control. how do i set the vertical and horizontal scrolling if it can exceed the page size. Allowhorizontalscrooling and scroolbar="auto" property not works in that
can any one please help me
thanks
mahesh
|
|
|
|
|
i created an application that streams from a server but my problem is on my server there quiet a few drives for eg drive m,u,f,g,h right and lets say my ip for my server is 123.34.0.1 for arguements sake right
1. i have some audio on the u drive and i want to retrieve it how would i do this???
i tried http://123.34.0.1/recordings/ken.wav................i tried that since the ken.wav is located on u:/recordings/ken.wav
kenny
|
|
|
|
|
You have to set up a virtual directory in IIS for u:/recordings/
|
|
|
|
|
how would i do this???? canu tell me wat to do or point me to a tutorial as to how to do that
kenny
|
|
|
|
|
Well I hoped on over to www.google.com and typed in "virtual directory iis" and one of the links it returned (on the very first page) is this:
http://msdn2.microsoft.com/en-us/library/zwk103ab.aspx
Sometimes, the more you try to help yourself the better you get at finding your own answers so that you don't have to depend on other people. Someone else and myself both told you the answer (use virtual directories) and all it took was a quick google search to get the information you needed. Instead you sat and waited for me to go to lunch, eat my food, come back in, do the google search, and post it.
|
|
|
|
|
thanks i kne whow to create virtual directories when for example u copied a poject to anotherpc and u had to recreate the virtual directory but i never know u could do that for jus folder locations so i thought uguys were taking bout soemthing else thats why i waited, sorry about that
kenny
|
|
|
|
|
As you are using the http protocol to stream the data, the file has to be visible through the web server. Make a virtual folder that points to the folder that contains the files that you want to make available.
---
b { font-weight: normal; }
|
|
|
|