|
You are correct. I should learn some design tips. But doing designs with CSS is irritating job for me . Do you have good CSS tutorial other than HTML dog ?
|
|
|
|
|
Hi Friends,
I have one doubt,in mozilla web browser when i select the dropdownlist means its getting the list but the dropdownlist extends the width in selecting the list.In IE its working properly.Can anyone tell me the solution please?..
Take Care
Thanks & Regards
Senthil Kumar
|
|
|
|
|
we are planning to buy VS 2008, I would like to know if buying one copy I can install it on my desktop and my laptop as long I am the only one using both. My boss said that is not true, Any idea? i was looking on Microsoft website, but i cant find any info about it. any help?
|
|
|
|
|
Hi dear,
well ya this is not possible as u got lisence for only one Member, bt if u try to buy the lisence for than one than obviously it cost much..
also u can call to miscosoft customer support for the same .
u will be better helped by them..
Regards,
Sulabh jain
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
does anyone know any good css tutorials to design a 800 x 600 website
thanks
|
|
|
|
|
I guess that would be just like designing a 1024x768 website just a bit smaller!?!? (width=xxx)
|
|
|
|
|
I have a ASP.Net web application using C#, is there a way for me to get the PC screen resolution? I think I have to use javascript for this, but I don't know the syntax. If I have to use javascript, how do I get the value from the javascript variable into a C# variable? Thanks.
|
|
|
|
|
Use the Javascript screen[^] object to obtain the screen resolution. In your Javascript code, store the resolution info in hidden fields set to run server-side, then retrieve the info in your server-side code when you post the page back.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Can you point me to an example of storing the resolution in hidden fields set to run server-side?
|
|
|
|
|
I don't have an example to hand. However I suggest you look at the HiddenField control.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi
try to accomodate your page at any resolution, this is the best way to persent your pages,
if you have any complicated design,
use screen.availHeight, screen.availWidth,
best way to keep the resolution in the server side,
in the login screen, send this height and width as comma separated values by hidden control.
once you authenticated the page, you will keep some user information in the session,
same time keep this height and width in your session,
Note: if the user resize the screen, server side values can't updated.
Regards
Elayaraja.S
|
|
|
|
|
So it turns out my host does not allow services to be installed on a shared hosting package. This doesn't surprise me so much, but I was hoping someone may have run into this problem before and come up with a solution that allows occasional tasks to be executed on a shared host.
One idea that popped into my head was, rather than write a Windows service to do the timer, implement it using Amazon EC2. Unfortunately I know next to nothing about EC2 or even how it works (is it a virtual machine, does it have its own language?). If has any experience with this could you give me some idea of how complicated this would be, and how much the monthly charges would amount to if all it was doing was calling a web service method asynchronously every hour or so.
Thanks, and hope everyone's having a happy Monday.
Logan
"So what's the future like? Are there flying cars and everything's clean?"
"No, the cars are still on the ground and it's even dirtier, but we're working on it."
From: Quantum Leap (not verbatim)
{o,o}.oO( Want a great RSS reader? Try FeedBeast! )
|)””’) ( Check out my profile for a special CodeProject deal! )
-”-”-
|
|
|
|
|
hi
in datalist control we can design a template for it. such as follow:
<asp:datalist id="DataList_Detiail_kholase" runat="Server" repeatdirection="Horizontal" onitemcommand="DataList_Detiail_kholase_ItemCommand">
<headertemplate>
....
<itemtemplate>
...
<footertemplate>
is there any way to design such template for gridView?
|
|
|
|
|
Which template.
nothing is displayed there.
Apurva Kaushal
|
|
|
|
|
tanks for your reply.
my problem was solved.
|
|
|
|
|
Anyone know how to connect to Google translation in C# ? There is solution for connecting to Babel fish here but i cant find any solution to google translation. Hope someone can help. Thanks.
|
|
|
|
|
This question has nothing to do with ASP.NET.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
hi evrybody i am looking for solution to this
1.i have form in which there is 3 fields
textbox=>school
textbox=>Major
dropdownlist=>Degree
2. i want to place button (Add Education) which will add another set of same controls with diffrent ids
3. and i want to place button (Delete Education) which will delete the last added conrol set by (Add Education)
i know i have tried by javascript by copying from site i was inspired by desighn of this kind of user control but
i ended up in tears because id generated by javascript was like ****ucResDesiredPos:Relocation~RelocationStateProvince~0~0*** which is not allowed by asp.net contorls
please help me with clear solution because i am new to asp.net it works fine by javascript and normal html contol but not with asp.net conrols...will it be possible by multi view
thank you very much in advance
please helppppp
appu
|
|
|
|
|
You may want to use DataGrid for that. Add the textboxes and dropdownlist in Datagrid and you can use Gird footer for adding new records. It would be more easier for you.
|
|
|
|
|
hello,
please follow these steps:
1)create a web user control named Education and contains your 3 controls and customize it as u like,it should be like this:
]]>
<asp:panel id="Panel1" runat="server" width="200px" borderstyle="Solid" bordercolor="Black" borderwidth="1">
School
<asp:textbox id="TextBox1" runat="server">
Major
<asp:textbox id="TextBox2" runat="server">
Degree
<asp:dropdownlist id="DropDownList1" runat="server">
2)in your webform add this directive in the top of the page code right after the <%@ page %> directive:
]]>
3)add this code in your webform code:
<asp:panel id="Panel1" runat="server"><br />
<%<br />
try<br />
{<br />
int ItemsCount = 0;<br />
ItemsCount = Convert.ToInt32(Session["ItemsCount"].ToString());<br />
for (int i = 0; i < ItemsCount; i++)<br />
{<br />
int Counter = i + 1;<br />
Education1.ID = "Education" + Counter.ToString();<br />
%><br />
<uc1:education runat="server" id="Education1" /><br />
<%<br />
}<br />
}<br />
catch (Exception ex)<br />
{<br />
}<br />
%><br />
</asp:panel>
4)add a button and type this in the click event;
if (Session["ItemsCount"] != null)<br />
{<br />
int SessionValue = Convert.ToInt32(Session["ItemsCount"].ToString());<br />
SessionValue++;<br />
Session["ItemsCount"] = SessionValue.ToString();<br />
}<br />
else<br />
{<br />
Session["ItemsCount"] = "1";<br />
}
that's it, and you may put all of that in an updatepanel to have the AJAX effect....
i wish that could help you, please let me know if there're any errors...
Web Developer @ Silverkey Egypt
|
|
|
|
|
please note that this tag will not be included while you type the code i've shown:
and ]]>
please remove it,
thnx
Web Developer @ Silverkey Egypt
|
|
|
|
|
thank you for helping but the code u gave me was in c# and i use vb but i did manage to get it working but nothings hapening
appu
|
|
|
|
|
i have a problem with ProfileBindings and extenders in AJAX and ASP.NET 3.5,
i put a profile property in the web.config file and i set it in a webform CORRECTLY, in another webform i tried to bind this profile property with the ENABLED property of a DropShadowExtender like this:
<asp:scriptmanager id="ScriptManager1" runat="server">
<asp:button id="Button1" runat="server" text="Button" onclick="Button1_Click">
<cc1:dropshadowextender id="Button1_DropShadowExtender" runat="server">
Enabled="True" TargetControlID="Button1">
<profilebindings>
<cc1:profilepropertybinding extenderpropertyname="Enabled">
ProfilePropertyName="ProfileProperty" />
anything wrong about that????!!!!!!!!!!!!!!!
it's not working, please help me with it...
thnx in advance...
Web Developer @ Silverkey Egypt
|
|
|
|
|
i am using ASP.net, C# anD SQL Server2005,in the following query:
string q = "SELECT collapsed_building.b_name,collapsed_building.b_desc FROM collapsed_building WHERE collapsed_building.b_name LIKE '" + crimewithdate.text2 + "' ";
I WANT TO USE % AFTER THE Khow to use the keyword LIKE in the SQL query in C# statementEYWORD like SO THAT ALL THE BUILDING NAMES WHICH MATCH THE VALUE ENTERED BY THE USER ARE DISPLAYED
WHEN I WRITE (LIKE '" + %crimewithdate.text2 %+ "'), IT GIVES ERROR, WHAT WILL BE THE CORRECT SENTAX
|
|
|
|
|