|
1 - take screenshots of the asp app
2 - delete all copies of the asp app
3 - write a new app
Seriously, no migration is possible, they are completely different to each other.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Can we change the layout of Detailsview. I wanted 2 fields in the same row.can anybody help please
|
|
|
|
|
One way would be to format it using the header template.
<code>
<HeaderTemplate>
<table>
<tr>
<th>User</th>
<th>ID</th>
</tr>
<tr>
<td><asp : Label ID="Label1" runat="server" Text='<% # Eval("UserName", "{0}") % >' /></td>
<td><asp : Label ID="Label2" runat="server" Text='<% # Eval("ID", "{0}") % >' /></td>
</tr>
</table>
</HeaderTemplate> </code>Hope this helps :->
|
|
|
|
|
Thanks. I want this inside edit template. Can it possible.
|
|
|
|
|
Hi,
I wish to call the JavaScript function from Code behind Page_Load function. That JS function accepts a parameter also. How can I call the JavaScript function? Please let me know.
Page_load()
{
string val="yes";
//ShowTransOptions(val)
}
JavaScript function :
function ShowTransOptions(val)
{
if(val == "Yes")
{
}
else
{
}
}
Regards,
Jay
|
|
|
|
|
Page_Load is a server side event, for the client to properly interact with JS, the page needs to be rendered to the browser, as java script is client-side scripting.
If you want to feed your javascript a variable, there are a few ways to do this, but you should elaborate a bit more on what exactly your trying to do and what you want the end result to be.
One way would be to use the Page.RegsiterScriptBlock method. Another would be to declare a public variable to hold your JS or variable(s) and use the Response.Write method to feed the variables into the javascript.
|
|
|
|
|
Hi,
In my application, im using a stylesheet, in which i've set styles for different controls.
There one gridview control,in which one column is of hyprelink type, so in stylesheet i have:
a:hover{color:Blue; font-weight:bold; font-size:medium}
a:active{color:Blue; font-weight:bold; font-size:medium}
a:link{color:Black; font-weight:normal; font-size:small}
But there also one hyperlink control, whose style has to be differnt...i can set a class in stylesheet:
.csshyperlink
{
font-family:Arial;
}
but how do i set the hover, link colors?
Kindly do tell me how to do it...
Thanks
|
|
|
|
|
.csshyperlink a
{
color:#cc0000;
font-family:Arial;
}
.csshyperlink a:hover
{
color:#cc0000;
font-family:Arial;
text-decoration:underline;
}
|
|
|
|
|
Thanks
|
|
|
|
|
In my script i set a variable called impath="whatever.jpg";
ex: <% string impath;
impath="wallpaper/" + idvalue + " /thumbs/" + cnt1 + ".jpg";%>
I want to be able to use this variable in a href command such as:- src=impath
runat="server" >
but of course this syntax is wrong.. How would I define the img src line to use the variable?
if u know ans plz let me know ASAP
Haritha
|
|
|
|
|
Set it up as a public variable in your code behind. Then you can access it with the <% %> You just need to make sure you do some sort of Page.Bind so that the <% %> gets translated to your value.
Hope that helps.
Ben
|
|
|
|
|
A proper design would be to use properties rather than public fields.
only two letters away from being an asset
|
|
|
|
|
True enough. I guess I wasn't sure if I wanted to go into the detail of creating a property.
Ben
|
|
|
|
|
Urgent is not a acceptable message title. Read the how to get answers post at the top of this forum. You may get more/better responses that way.
only two letters away from being an asset
|
|
|
|
|
This is correct however you can add single Quotes or double quotes
Nobody is perfect i'm Nobody
|
|
|
|
|
Our application is hosted in win 2003 server, iis6.0
ASP.NET 1.1 with vb.net
After several requests(not a huge number) by the user, the worker process zooms up to 500 mb and it stops responding. It was tested from multiple machines. If the same application is tested from a single machine opening multiple instances, it increases the size somewhat by 2MB but doesn't reach 500 MB. We are checking for any memory leaks. The form that has been tested has got huge functionality of creating multiple contrls, mainly (input type=text) and it is assigned to the text of a ASP:literal control. The processing involves going through multiple functions in loops. Each loop having some string builders and it is assigned to main string builder. We are searching google also to find out ways of solving this. I request your help on this as this is a urgent one
Thanks,
K.P.Kannan
|
|
|
|
|
I am guessing you aren't properly disposing of your string builders. You also are probably storing too many large objects in your Session variable.
Just some guesses.
Ben
|
|
|
|
|
You are absolutely right. We were not clearing a session object properly and it was also huge. Thanks for the help
|
|
|
|
|
Hi,
I am implementing 3 tier architecture in my project.I am using asp.net 1.1.
Can Anyone help me out in writing code for a data access layer.
Bhanu
|
|
|
|
|
|
Thanks Nilish,
I would like to ask you one more question.
What you have mentioned is for VS 2005.
But I am working on VS 2003
So, can you please tell me how to do it in 2003
Bhanu
|
|
|
|
|
|
Hi
i am using the drop down in the grid view and i firstly bind it with the database and after changing filling the grid view with data table after making changes but i am not able to change the value of drop down with the data table can any body tell the solution
thanks
kanwal
|
|
|
|
|
kanwal2k6 wrote: not able to change the value of drop down
What's that mean?
|
|
|
|
|
hi kanwal,
why dont you use object data source control to fill up dropdown, its very easy to use. all you need to do is select the class name and method name.
|
|
|
|