Hi All,
I want to display font dialog box in my web application(asp.net). Im using the following code. Its working fine.
Problem: Dialogbox is getting open but it is behind the page. Even though i closed the application it is still open. It is not binded to the application.
Code:
FontDialog fontDialog = new FontDialog();
fontDialog.ShowColor = true;
DialogResult dR = fontDialog.ShowDialog();
if (dR == DialogResult.OK)
{
txtChange.Font = fntDialog.Font;
}
Edit:
I want to create an application for Entry pages to fill the database. In this i want to store text and its font size, name and color.
Im my mind there are two options:
Displaying the fonts from the system.(Dropped bcz these entry page application is in the one system and the report page application going to run kiosk). It will create problem if the fonts are not available in the kiosk.
- Font dialogbox.(Also creating problem)
Please is there any other good option for this.