Hi, I have developed a smart client desktop application using SCSF. It has an MDI and MDI child forms opens over it(It is similar to windows menu based application using MDI) . The problem is that the MDI child forms (i.e. the views) take a few seconds to open and load. Is there any way of minimising the time it takes. The forms are having simple text boxes and labels and grids(which has two columns and is not populated during load) I call a webservice at form load and have tried to comment the service call; Even then it takes the same time so I have ruled out the possibility of service delay. Nothing else is done at the form load except the form is rendered All MDI child forms(views) are taking the same time. The application is stand alone not run remotely or checks for any updates on any server. I dont have knowledge of SCSF internals, and how SCSF does all the handling of smart parts etc. May be it might be tuned up to load the views faster or there is some way to make the CAB work faster which I am unaware of. Could not find the forum related to SCSF so posting it here, please suggest in case you have knowledge of SCSF message board in code project. Thanks in advance. Sakshi
Sakshi Smriti
Posts
-
SCSF Smart Client application takes time to load -
SCSF application is taking a lot of time to loadHi, I have developed a smart client desktop application using SCSF. It has an MDI and MDI child forms opens over it(It is similar to windows menu based application using MDI) . The problem is that the MDI child forms (i.e. the views) take a few seconds to open and load. Is there any way of minimising the time it takes. The forms are having simple text boxes and labels and grids(which has two columns and is not populated during load) I call a webservice at form load and have tried to comment the service call; Even then it takes the same time so I have ruled out the possibility of service delay. Nothing else is done at the form load except the form is rendered All MDI child forms(views) are taking the same time. I dont have knowledge of SCSF internals, and how SCSF does all the handling of smart parts etc. May be it might be tuned up to load the views faster or there is some way to make the CAB work faster which I am unaware of. Could not find the forum related to SCSF so posting it here, please suggest in case you have knowledge of SCSF message board in code project. Thanks in advance. Sakshi
-
Single sign On on VPNI have an intranet web based applicaion(ASP.NET 2.0) for HR and employees called TRS. There is a single sign on,i.e. your email id windows id and TRS id are made same at the time of creation. The users cliclks on a link and the foloowing method is done to sign him in: 1.I Pick up his windows id 2.Check for the same ID in TRS Database as ID's are same. 3.If found log him in and show the default welcome screen. This worked fine as long as the application was on intranet. But now IT has provided Aventail VPN log in from where users access their email i.e. Outlook webmail and TRS also. The problem lies here, When you authenticate and enter the VPN session you can access all other application and Outlook. When TRS is clicked a dialog box opens for user name and password in which you have to provide your windows user name id and password for your company. Then if the credentails are correct you are shown the welcome page. The problem is that the dialog box is not required. Can anyone guide me as to how to do this i.e pick the user name from which the user logged inside VPN Outlook opens directly once you enter the VPN session. In the same way the site should get opened once authenticated to VPN and another dialog box for user name and password should not come. Thanks in advance. The authentication I currently use is windows authentication. The code to fetch user name is: Dim usernames() As String userName = Request.ServerVariables("AUTH_USER") The web config file is : <authentication mode="Windows"/> <identity impersonate="false"/> <authorization> <deny users="?"/> </authorization>
-
How to launch your application minimized in sidebar not in taskbar by pressing a certain keyMy application is a windows application and is an active alarm of notes it gets hidden in sidebar and an icon is shown near the clock Clicking this icon will launch the application again How do I launch this application by pressing a ceratin key or combination of keys while it is sunning in sidebar The application is in C# thanks for the help Sakshi
-
Scroll data grid to the row where edit was clickedHi All, I am using a datagrid in a ASP.NET page. The data grid is inside a div tag. <div id="divEditProjectRes" style="OVERFLOW: auto; HEIGHT: 150px"> <asp:datagrid id="dgEditResource" runat="server" Width="100%"> There is edit option in each row of the data grid and the user can edit on a few fields. The grid has many records and the user has to scroll down.After scrolling to the record and clicking on edit there is a post back ,and the grid is set back to the top and he again has to scroll back to the row in which now fields are editable. What I want here is that after he clicks on edit the same row must come at the top and the user need not scroll it again. I have used the following code in dgEditResource_EditCommand to set focus to the editable text box in the particular scroll row ,Although it gets the focus but again we need to scroll down . Dim descTB As TextBox descTB = dgEditResource.Items(e.Item.ItemIndex).Cells(2).FindControl("sdate_edit") 'Set the script to focus and select the TextBox RegisterStartupScript("focus", "<script language=""JavaScript""> vbTab & "Form2." & descTB.ClientID & ".focus();" vbCrLf & vbTab & "Form2." & descTB.ClientID & ".select();" & "<" & "/script>") descTB = dgEditResource.Items(e.Item.ItemIndex).Cells(2).FindControl("percent_Edit") If we press tab or space bar the record comes up as focus is already in the text box. But I need that row to scroll up or navigate by itself after edit is clicked. Thanks in advance. Regards, Sakshi :)
-
Scroll/navigate /focus datagrid to the row in which edit was clicked [modified]Hi All, I am using a datagrid in a ASP.NET page. The data grid is inside a div tag.
There is edit option in each row of the data grid and the user can edit on a few fields. The grid has many records and the user has to scroll down.After scrolling to the record and clicking on edit there is a post back ,and the grid is set back to the top and he again has to scroll back to the row in which now fields are editable. What I want here is that after he clicks on edit the same row must come at the top and the user need not scroll it again. I have used the following code in dgEditResource_EditCommand to set focus to the editable text box in the particular scroll row ,Although it gets the focus but again we need to scroll down . Dim descTB As TextBox descTB = dgEditResource.Items(e.Item.ItemIndex).Cells(2).FindControl("sdate_edit") 'Set the script to focus and select the TextBox RegisterStartupScript("focus", "<script language=""JavaScript""> vbTab & "Form2." & descTB.ClientID & ".focus();" vbCrLf & vbTab & "Form2." & descTB.ClientID & ".select();" & "<" & "/script>") descTB = dgEditResource.Items(e.Item.ItemIndex).Cells(2).FindControl("percent_Edit") If we press tab or space bar the record comes up as focus is already in the text box. But I need that row to scroll up or navigate by itself after edit is clicked. Thanks in advance. Regards, Sakshi :)
modified on Saturday, January 26, 2008 7:47:32 AM
-
rRetaining Data in web form after transfer to another form and backHi, I have two fileds in a form both are combo box ie month and year and not data bound (form1) . from this form I am going to another page (form2) and from form2 back to form1 I have to show the same values of the combo ie month and year(which was selected by user ) when form 1 is loaded again what is the correct way of passing data in two web pages in asp.net ie retaining the values of the drop down list in the form1 no use of sessions or global variables please What is the correct way of doing it thanks in advance :) Sakshi
-
no of rows in sql stored procedureya i got it thanks
-
no of rows in sql stored procedureHi I want to find out the no of rows returned by a select statement in a stored procedure within the stored procedure ie i have a select statement say select * from employees where deptid=2 now for the no of rows returned i want to perform a calculation for each row in the stored procedure itself how can i loop in it and get the no of rows and the records for each row to handle all these in the stored procedure rather than in the front end Waiting for reply Happy coding Subhash Subhash Chatterji