Web Forms :: How To Do HTMLEditorExtender
Sep 25, 2012How to do HTMLEditorExtender in a Web Form
View 1 RepliesHow to do HTMLEditorExtender in a Web Form
View 1 Repliesi use asp.net 4.5 and i create Project to post news with use ajax AjaxControlToolkit NET45 data when post is no any problem's and save is success to database ? data when retrieve to label no problems ? but when i want retrieve to editor box cant show and retrieve empty ? why ? i want update my news by retrieve new to editor box ?
i want set retrieve data to editor content ? to update them to database ? when i post editor.content= " example any string "; in Page_Load Function is post and no problem ? but when data post to content into file.aspx is post empty ?
you can see my image next all data post into textbox but data can not post to editor box ? why ? i post the content from database to text box or label there are no problem but when i want use editor.content=" to set any data " cant do that ? when i test and post data into page_load function the data insert into editor content? i want set my retrieve data into editor box ? and can change to update them to database ? how do that !!!
I am calling a javascript function on onfocus event of a multiline textbox and it is working fine.
But when I add HTMLEditorExtender to that multiline textbox onfocus event is not firing.
Here is my code
HTML
<div>
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:TextBox ID="TextBox1" runat="server" Height="224px" TextMode="MultiLine"
[Code].....
how to show the progress bar when file is upolading
in windows application with C#
URL....I use this one as my login, and I addes hyperlink for Forgot Password. But why I can't access the FORGOT PASSWORD.aspx for every time I click it. And when I login it redirects t Forgot Password.How I can access it without logging in?
View 1 RepliesIn our application we are using forms authentication, we have given defaulturl also in the config file. But the problem is that it is not getting redirected to the default url when the session timeout is occuring.
View 2 RepliesI have been presented with numerous word and excel docs. The goal is to put them online and bind to a database for the fields and also to store data for easy searching and reporting.
Has anyone done anything like this before?
I know the easy solution would be to create a database table for each particula form and also an ASP.net page for each form.
But then there are problems like printing and correct formating so it fits on the page, spaning multiple pages and so on.
And also is there any advice on how to write to PDF straight from the page?
I have a treeview named Treeview1 with checkboxes. I want the child checkboxes to be checked if parent is checked.
I am trying to use a simple code that I found on msdn :
[Code]....
For some reasons I got this error and I really dont understand why:
Type 'System.Windows.Forms.TreeViewEventArgs' is not defined.
warning BC40056: Namespace or type specified in the Imports 'System.Windows.Forms' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Really getting better with VS, but I've mostly been displaying data. I'm on a new project and now and I have a lot of data entry forms to create. I created a form to enter data into an access db and got it working. I thought it would be cool to add an edit button that fired a gridview to load on the same page, under my original forms, so that that they could load up the data and edit or delete mistakes. But when I try to update the gridview, it also tries to post the original forms (text boxes), which fail because there is no data in them, and I get an error.
What is the proper way to handle this in asp.net? I'm sure this is kind of a common issue. I've done some searching, but the search terms, like forms and gridview, are kind of generic and I'm not coming up with anything useful. I just need a more experienced person to point me in the right direction and I'll get it figured out.
I do have combo box on my page where the items are retrieved from database.
I have an link label which leads to new form to add value for corresponding column in database.
After add the value, when i click refresh on my current page, the values in combo box must be updated.
I have used this
private void button3_Click(object sender, EventArgs e)
{
this.Refresh();
}
We have a number of projects and across projects cerrtain forms are duplicated.
Is there a way that I can create one form and reuse it across multiple projects?
I am using forms authentication, and for some reason it shuts off my images. I have tried putting them in the same directoy, and still nothing.
If I turn off forms authentication, they come back alive so I know my urls are correct.
My images show up find in design time, and if I have logged in and go back to the page, they show, but upon initial login,they aren't visible. What do I need to do?
View 1 RepliesIn windows forms, there is the "show data sources" under the "data" menu item, and I love it because I can drag and drop the fields I need onto the form and it makes the control automatically.In web forms however, this option isn't there. Why? I try to drag and drop fields from the "server explorer" but it generates grids, I don't want grids I just want to drag and drop the text boxes or checkboxes etc.
View 4 RepliesCreated in VS2008
The login page is created with the masterpage and it has the header picture.
After Logout or run FormsAuthentication.SignOut();
The login page is not showing correctly with the header (from master page).
And the setting on the web.config as below:
<authentication mode="Forms">
<forms loginUrl="Login.aspx" name=".ASPXFORMSAUTH">
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
Is there any reason why the header from masterpage can not be viewed from the login page?
Form1 is for the administrator. It has 5 fields. Field1 has a value for which the other values give details about it. This 5 fields are stored in a table. Form2 is for a user and its a data entry form. This forms has 12 fields. Each label in the form2 corresponds to the value of Field1 in form1. If suppose the admin fields 10 times the form1. The 10 labels of form2 are filled with values of field each time. The above is what I want to achieve. Also the two text box corresponding to the remaining two labels should be disabled for user.
View 2 RepliesI create a windows forms control library project, And build it. then i want it's dll to my web project, for this i used object tag which can display it on page. I made reference of dll to my project.did the following coding.
<object id="conlib1" classid="clsid:{2483F435-673D-4FA3-8ADD-B51442F65349}"
codebase="Default.aspx" >
<param name="F:sandyWindowWincontrolLibWincontrolLibinDebugWincontrolLib.dll" value="WincontrolLib.dll" />
</object>
although page is asking to install but after that my control should be displayed but nothing is to be shown there.
Below is the error whil i am developing the windows forms. it is coming while login in to the forms. Request For The Permission Of Type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
View 2 RepliesI'm building a web page that is going to make extensive use of User Controls. Using "LoadControl" it will have one of about 20 different User Controls loaded at any one time. Each User Control is somewhat different, gathering different sorts of data.
I've already built the mechanism to load the User Control and pass strongly typed data to it. But now I'm tackling the part of returning the user data to the Parent Form. I can think of several possible approaches to take but wanted to reach out to the community to learn what the best practice for doing this is.
I am using the ASPNET_Captcha control for my login page. It works fine. However when i implement the forms authentication, the catcha image does not appear.
Do i need the location section in the web.config file? If yes can you share the details for the same.
what are the ways of handling multiple web forms data for saving into database after last form or editing data and saving back to database after last form is submitted.Previously I have used wizard & panels in a single form and also has cached data from multiple form to save when last form is submitted. Are there some better way to handle multiple web forms data for saving and editing ?
View 2 RepliesI am trying to bind data to a textbox in a web form as I do in win forms using dataset and binding manager.I also want to navigate through data by providing next and previous button. I am not able to achieve it. Could you please help me by providing an example? I don't want to use gridview or listview or any other. I only want to use textboxes.
View 3 RepliesA requirement of a program I am making is that it can 'print' a given URL into a PDF - the server has a PDF printer installed (and is the default printer), so it's just a matter of printing the page programmaticly, and it seems the best way is to use the WebBrowser control - however, I am running into issues
[Code]....
With the above code, I get a script error 'dialogArguments.___IE_PrintType' is null or not an object' in shdoclc.dll/preview.dlg. If I have wb.Print() to somethign like wb.ShowSaveDialog() (or something like that, can't remember exactly), I notice the 'wb' object's document is a blank page, with just <html> tags and named 'about:blank'. But strangely, almost identical code (without the threading bit in the page_load method) works perfect in a normal Winforms based application.
In my project I want to apply style sheet to all web forms at a time, so how can we do that.
As I am having too many forms it is not possible for me to apply it to all pages individually.
Are there any free samples of creating contact forms
View 3 Replies