|
You may not use <asp:BoundField> with the dropdownlist. When using the templated controls the means to bind is: '<%# Bind("ColumnName") %>'
|
|
|
|
|
In my application I have a bulky .aspx page, it has UdatePanels and on every post back through UpdatePanel it performs complex calculations on server as well as renders almost 50 controls again at UI.
I am facing following performance issues with my application
1. Application works fine on all other pages but on above mentioned page it’s very slow and often gives timeout exception.
2. On similar page if there are 3-4 concurrent user then ASP.NET worker process starts using almost 100% of CPU. (considering the RAM on server is 2GB)
3. I am creating and maintaining a session object on this page which fetches values form database and it’s size is around 500 KB, it's compusary for application and cannot be avoided.
I have tried a lot but couldn’t found the performance bottleneck; can anybody please suggest how can I fine tune applications performance for given page?
|
|
|
|
|
Do you realy need all 50 controls on page, or you coud use as wizzard?
Did you disabled debug mode in Web.Config?
Did you used publish site in Visual Studio?
Did you configure iss? I Think it is in General Tab a combo box, Currently i cant accsess to my computer where i have iss.
|
|
|
|
|
Mukesh Kumar Gupta wrote: complex calculations on server as well as renders almost 50 controls again at UI
Well, I would say this is a clue.
Why do you need to re-render 50 controls? Just update the ones necessary, or reduce the number of controls on the page. I would reconsider the 500KB session object also.
only two letters away from being an asset
|
|
|
|
|
Hello,
I am using Microsoft.Web.Administration api s to handle some functionality of IIS7. How do I get Virtual Directories of a particular website( a website not an Application.)?
Please let me know.
Nana
|
|
|
|
|
Hi guys.
I have been running my aspx pages perfectly till a few weeks ago.I didnt do any configurations on my pc.Atleast not that I know of.So now I cant run any of my pages coz it tells me the page cannot be found, even when I hit the run or debug button.
Any ideas guys.Please.
Thanx in advance.
kagiso
|
|
|
|
|
|
Yes.I stopped it and then restarted it again.
kagiso
|
|
|
|
|
have u changed the location of your project? Ensure that IIS has started...
Koushik
|
|
|
|
|
IIS is started and the project is in the folder.
kagiso
|
|
|
|
|
Can you create a simple html page and place that in your virtual directory and see if you can get to that.
Also, i'd go directly to the IIS manager, right click on an aspx file and go to browse - check and see if you can see anything that way.
|
|
|
|
|
Someone said it mite be coz maybe my IIS was installed after my Visual Studio.NET so I uninstalled and reinstalled them accordingly.And again, they said I mite have to run aspnet_regiis.exe but that was not in the directory it was suppose to be in .Net framework/v1.0.3705/aspnet_regiis.exe.
I found it in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.I still ran it and things have not changed.I still copied a simple html page onto my IIS manager and tried to connect and still I cant geddit.
Anymore ideas guys??Please help.
Thank you in advance.
kagiso
|
|
|
|
|
The alternative way you can do is create new project and add forms and pages from the previous project and try to run it..May be it work fine...
suchitamanandhar@hotmail.com
|
|
|
|
|
How can I connect to SQL Server 2000 database through .Net 2.0 Remoting using ASP.Net(C#)?
How can I connect to SQL Server 2000 database through COM+ using ASP.Net 2.0(C#)?
|
|
|
|
|
the only change you have to do is i think in datasource..You can give the remote server name here and check it.
suchitamanandhar@hotmail.com
|
|
|
|
|
I'm busy developing a control that provides simple paging functionality and would like some input on some final finesses for the control. The control takes a DataTable and a PagingKey parameter, and creates a set of page buttons showing alphabetic groupings of the PagingKey values. E.g. in my test project I use a table of Employee records, with surname as the PagingKey. On calling DataBind() on my control, it populates a Repeater with a series of buttons, with texts of 'Aa - An', 'Ao - Az', etc. I'd like some input on the following:
1. The range of keys for each button is determined by my page size, so with large data sets my collection of buttons can easily exceed the height of my page. Currently I use a scrolling div as container for the buttons, but this is hardly ideal if the user had to scroll through their page index. I am thinking of nesting my page sets, so if too many buttons are created, the large set of buttons is itself passed to another paging engine, which produces a page index for the first set. I would welcome suggestions for other means of doing this.
2. I currently create my page index by iterating all items in the employee data table, 'slicing' off a new button every time my item counter reaches my max page size. The range descriptor starts with a default length of 3 characters, but increases if the From and To values are the same, until the are different, so if on my first button I get 'Aa - Aa', I make it 'Aat - Aaz'. The problem, however, remains when my first button ends with 'Am' and my second button starts with 'Am'. I would then have to iterate the whole set of buttons again, checking for this. This will not cause a huge performance hit, but it seems slightly inelegant as well.
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
iam working with login page .how can i write code for remember my login id chekbox
|
|
|
|
|
u can do it by using cookies...store cookies in the client machine and if cookie exists take the username and password from it...
Koushik
|
|
|
|
|
how to use strong names to escape dll hell?
|
|
|
|
|
|
when the user click the close window button , a message box is appearing , are u sure to close the window,if i click yes , i want to do some code i the code behind file.
how should i do it.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Have you ever heard about the 'onunload' event of body tag?
Thomas
|
|
|
|
|
write a java script function that stores "yes" or "No" in a hidden field based on the confirm or alert box (alert box always returns the bool value of true or false) response.
func getConfirm()
{
///
}
now do the following
closeButton.attributes.add("OnClick","javascript:getConfirm());
Now access the hidden field using Request.Form["hiddenField"]
u will get the value "Yes" or "No"
Koushik
|
|
|
|
|
what is closebutton
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
alert function in java script has only one button called OK
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|