Hi,
I would like to have something like AJAX loading in my win application. Which means that, during the loading time, it will show some gif running sitting on top of a semi transparent panel (to avoid user continue using the application).
May I know izzit possible to do that with Telerik control?
Please advice.
I would like to have something like AJAX loading in my win application. Which means that, during the loading time, it will show some gif running sitting on top of a semi transparent panel (to avoid user continue using the application).
May I know izzit possible to do that with Telerik control?
Please advice.
5 Answers, 1 is accepted
0
0
Ching-Yen
Top achievements
Rank 1
answered on 10 Mar 2008, 09:22 AM
I guess radPanel would be the one.. :D
0
Hello Ching-Yen,
Generally, this behavior is not supported in winforms, as there is no separation between a client and server tier of an application, which is the usual scenario where AJAX loading is used in the context of a web application.
Could you please describe your scenario in greater detail. This will allow us to provide more accurate advice on how to implement it.
Kind regards,
Kiril
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Generally, this behavior is not supported in winforms, as there is no separation between a client and server tier of an application, which is the usual scenario where AJAX loading is used in the context of a web application.
Could you please describe your scenario in greater detail. This will allow us to provide more accurate advice on how to implement it.
Kind regards,
Kiril
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Ching-Yen
Top achievements
Rank 1
answered on 10 Mar 2008, 11:51 AM
Hi,
Basically what I want is just that while there are some job running, I do not want the user to interfere the application (via mouse click or keyboard).
I was trying frmMain.Enabled = true and false
But, when, the frmMain.Enabled = false, it will show the form like "grayed out" then, few blinks and back to normal.
My alternate plan is having a transparent control, and add that control to the form as need to cover the entire form, and dispose that control after the loading.
Basically what I want is just that while there are some job running, I do not want the user to interfere the application (via mouse click or keyboard).
I was trying frmMain.Enabled = true and false
But, when, the frmMain.Enabled = false, it will show the form like "grayed out" then, few blinks and back to normal.
My alternate plan is having a transparent control, and add that control to the form as need to cover the entire form, and dispose that control after the loading.
0
Hi Ching-Yen,
Thank you for writing.
You are able to achieve disabled controls with a normal look as if they are not diabled. You have to set the UseDefaultDisablePaint property of the controls' RootRadElement and of its subelements to false.
You should use a recursive algorithm to access them and modify the value of this property. I have attached a sample project that demonstrates the use of this algorithm. The BrowseControls() method browses all the controls on the Form and the BrowseElements() method browses the subelements of the RadControls' RootRadElement.
I hope this helps. If you have additional questions, do not hesitate to contact us.
All the best,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for writing.
You are able to achieve disabled controls with a normal look as if they are not diabled. You have to set the UseDefaultDisablePaint property of the controls' RootRadElement and of its subelements to false.
You should use a recursive algorithm to access them and modify the value of this property. I have attached a sample project that demonstrates the use of this algorithm. The BrowseControls() method browses all the controls on the Form and the BrowseElements() method browses the subelements of the RadControls' RootRadElement.
I hope this helps. If you have additional questions, do not hesitate to contact us.
All the best,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center