How To Imporve The Usability Of A Simple Textbox With Word Addins
Jan 30, 2010
I am using C# and VS 2008. I want to imporve the usability of a simple textbox with word addins like B, I and U and simple size, font and colouring options, same as this forum textbox.
I googled and find out few editors like fckeditor etc but do not really understood how to implement them.
I have a question over the usage of Update Panel?Is it a good practice to have mutliple update panel in single page or just one update panel containing the whole UI.I have page where I use around 5 update panel, few controls are outside the update panel because I am doing some javascript operation on click those controls.So my question is to put everything in one update panel is good practice or not?Will multiple update panels will create any performance problem?
Just another day i found myself writing code to show data on the UI. I am again using DataGrid/GridView (ASP.NET), User Id as link button (clickable) to redirect user to another page. User having hard time to find where to click(Though the link has underline and hand pointer as usual on hover) just another common table like structure Following are the columns for example, User ID (Link button), User Name, First Name, Last Name, Date Of Birth Now i would like to make it better form the usability point of view. Can someone suggest a good link, example or suggestions to make it better.
I'm having a little problem with the popout icon in the ASP menu control not appearing when the sitemap node doesn't have a URL. Take the following sitemap nodes as an example:
The first top level item - Top 1 - gets a popout CSS class written to the tag that spans the label. However the second top level item - Top 2 - does not get the class. Given this class is generally used to hold the arrow indicating there's more content beneath the item there's a bit of a usability problem here. Does anyone have a workaround for this? Or alternatively, is a sitemap node without a URL attribute somehow breaking the intended usage of the control?
i don't want to use <input type="submit"> mainly because it's a button, i'd rather user ActionLink, so i am using Ajax.ActionLink, and i'm not sure what to place in the routeValues argument for it to pickup the new (edited) data (user enters comments etc) and send it to my action.
this is what i have, but of course, it sends the original comment before user edit back to the server/action
<%= Ajax.ActionLink("Update", "UpdateComment", Model.Comment, New AjaxOptions With {.UpdateTargetId = Model.CommentDivId, .HttpMethod = "Post"})%>
How can i create a auto complete textbox in vb.net or it gives suggestions according to the one that you type just like in google. and it will pinpoint the location in maps.
I am working on a project. I am using a textbox to allow user to save information in a database. How do I allow the user to format text just as they would have done in microsoft word?
"C,C++,ASP.net,4-5Years" then every word should be checked by database whether that name exits or not in table field of the database..It should be check separately of every word ..It just like Search engin...How can i do in asp.net
I'd like my users to upload MS Word documents -- instead of typing the information in a TextBox. Even though I use tinyMCE -- like in this site, most users still seem to prefer the highly sophisticated Word environment.
My goal is to allow them to upload their Word documents which I then convert to HTML and place it in a tinyMCE enabled TextBox control. Has anyone implemented this? If so,
there is one linkbtn , on click i have to display word document content inside any textBox which supports, i used simple textbox but am facing the formatting problem. and also it does not show image. there is for problem in display word document content inside any textBox .
In my project I am displaying word file in textbox. While users reading their data in textbox(uploaded as word)some unformatted fonts that is table in word coming like some type of fonts how to overcome this.
they could provide with regards having a word count of a mulitline textbox that is found within a DetailsView? I have tried using JavaScipt and a this [URL] but I don't seem to be able to get it working within that DetailsView,
public class WebService : System.Web.Services.WebService { MySql.Data.MySqlClient.MySqlCommand cmd = new MySqlCommand(); MySql.Data.MySqlClient.MySqlConnection con = new MySqlConnection(); //MySqlDataAdapter da = new MySqlDataAdapter(); MySqlDataReader dr; public WebService () { //Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod] public string[] GetCountryInfo(string prefixText) { int count = 10; string sql = "Select * from tbl_patientmaster Where P_NAME like '" + @prefixText + "%'"; con.ConnectionString = System.Configuration.ConfigurationManager.AppSettings["HMSDBConnectionString"].ToString(); con.Open(); MySql.Data.MySqlClient.MySqlDataAdapter da = new MySql.Data.MySqlClient.MySqlDataAdapter(sql, con); da.SelectCommand.Parameters.Add("@prefixText", MySql.Data.MySqlClient.MySqlDbType.VarChar, 50).Value = prefixText + "%"; System.Data.DataTable dt = new System.Data.DataTable(); da.Fill(dt); string[] items = new string[dt.Rows.Count]; int i = 0; foreach (System.Data.DataRow dr in dt.Rows) { items.SetValue(dr["P_NAME"].ToString(), i); i++; } return items; }
I have written a javascript code for handling the password functionality. The scenario is: when user wants to change the old password, he cannot fill the same old password again. I have written the code. But even the simple alert of blank textbox is not working. See the code for reference:
Javascript code:-
<script type="text/javascript"> function ltrim(str) { var reg reg = /^s+/g return str.replace(reg, "") } function rtrim(str) {
I have a page with two textboxes (one for english and one for korean)..
I want users to be able to enter an english word or enter a korean word in each respective textboxes...
Now I can only enter english in both of them... Even if my keyboard language is switched to Korean(I have the language pack installed).. I can not type in Korean in the Korean text box....
I thought I could simply change this using something like:
I'm hoping this is an easy one...I'm using Microsoft.Office.Interop.Word to convert uploaded word documents into previewable html files. I haven't implemented it fully, but I've played around with it enough that I think I have a plan that will work... My question revolves around
[Code]....
I'm not in love with the idea of opening word and closing it everytime there's an upload (which I hope is a lot of the time) I'd like to make this a shared object that loads at application start. I have 2 questions that go along with this. 1. I imagine that winword could lock up and that would be a problem, right? 2. to save a document I use wordapp.ActiveDocument, this could have an issue as a shared object, right? I think I'm talking myself right out of this...