Split Richtextbox Text By Enter Char Then Generate Xml File From The Items
Dec 3, 2010i need to split richtextbox text by enter char an then generate an xml file from the items.
View 7 Repliesi need to split richtextbox text by enter char an then generate an xml file from the items.
View 7 RepliesI need to call server side event when the i enter or delete the text (char) in textbox. How to do this in asp.net/c# 3.5.
View 9 Repliesi'm a new developer...i have been given a project to generate a user name of 6 chars. the user name has 1st 2 char the 1st 2 letters of the name and remaining 4 char as any random numbers. alone with that i have to send a random password with it..
View 2 RepliesI need drag and drop any textfiles into richtextbox from desktop and get filepath and icon in the rich textbox. then on double click the user can open files.
View 1 RepliesI got the filepath and filename in richtextbox. I need to extracticon using extractassociated icon. i got listview type. but i need which is not of list view type. i want extract icon of any single file which was drag and drop to rich textbox and sent to client so that they can open by double clicking the icon.
private void rtbText_PreviewDragEnter(object sender, DragEventArgs e) {
if (e.Data.GetDataPresent(DataFormats.FileDrop)) {
e.Effects = DragDropEffects.All;
} else {
e.Effects = DragDropEffects.None;
[Code] ....
I have an application I am trying to write that generates a text file conforming to a file specification, and the file could contain thousands of lines. This part is easy. The more challenging part for me is the user interface. It needs to be a web interface with various options to affect what data gets on the file; this part is no problem. The process for generating the file, though, could take a little time depending on the amount of data , and I would think the web page would time out.
What options do I have for the UI? Could I create some sort of service that the page calls and runs in the background? When the process errors or is finished, I'm thinking there could be an email sent out, or even messages displayed on the page.
Split String from listbox to enter data in table
[Code]....
I want to generate a text file using jquery/javascript/any.
View 8 RepliesI use asp.net page and in that page use validation. How to show Message in balloon
Exp: User Name___
IT use only alpha bate a-z or A-Z
display Message using balloon like "Please enter valid char only"
Is there any asp.net flash control which will work on client side without installing flash plugin.Actually i was using flashcontrol in my project and thereby displayed swf movie in my project . It was working right on server because flash player and flash plugin were installed on it. But when i tried to access that page on client side it doesnot showany movie or image
View 1 Repliesi have a text box with a large amount of text is it possible to enable paging in the text box and force it to split the text between multiple pages
View 5 RepliesI'm looking to print a file which is constantly being read too. Although, there are certain times when a user must print from this file. How do I print from this file and also alter the font depending on which item I'm printing. For instance, we have 3 items in a text file.
76277BLACK WHITE 001.300601R W2308101/4
76287BLACK SCANDA000.500208 E W2308101/4
76289BLACK WHITE 006.801701 W2308101/4
Two of these items need to be printed in a bolded font. The one with the 'R' and the one with the 'E'. I want it so that I f I were to print this particular job off with these three items. I would have two lines which would be bolded and the third line would be regular font. It would look something like this
76277BLACK WHITE 001.300601R W2308101/4
EXPORT
76287BLACK SCANDA000.500208 E W2308101/4
76289BLACK WHITE 006.801701 W2308101/4
If you look above I also need to denote that if an R is present it is a remake, if a E is present, it is an export.
i am having 2 textboxes on a form. What i need is if i enter some data in the first text box the same text should be displayed at the time i typed which means
if in the first text box i enter A the same text should be displayed automatically in the 2nd textbox.
in my application (asp.net) i have a filed ( phone code) and it contain a text box. and i want to restrict the user to enter only 4 letter after that the cursor should not print any character how can i write the code
View 3 Replies1) The image is from a asp:image tag
2) text is from asp:label
view here : [URL] How can I get text to start after the image is set in the top left corner, and then have text wrap underneath the image, if the text is long enough. I need to use asp:image and asp:labels as the inputs are populated from codebehind.
I am grabbing data from a peoplepicker control (sharepoint) that compiles users into a string. For instance, if the user added 3 users, the string would look like: John Doe CONTOSOjdoe User Jane Doe CONTOSOjadoe User John Smith CONTOSOjsmith User I want to use Split with"User" as the delimiter. Since the delimiter is 2+ characters I'm getting the error: too many characters in character literal. Tried to specify User as the delimter like:
string peoplePicker = group1.ToString();
char[] delimiterChars = {'User'};
string[] people = peoplePicker.Split(delimiterChars);
i want read from text box if there ; make sql qury then work thorw all string's
View 2 RepliesI have a @message parameter in SP, user sends an Integer value in that message. For Ex: @message = 'This is, a Test message 500000 and the message ends.'Now i want to get only that 500000 value from this @message param. There is no delimiters for identifying the integer value and in that param contains only one integer value
create procedure st_test (@message varchar (4000), @result int output)
as
begin
//LOGIC for get the interger value
end
i have data like this 10.03 i split it 10 in textbox1 and 3 in text box2 .
but my need is textbox1 10 and in
textbox2 as 03
I need to let my users enter a variable length list of items into something that looks like a grid view (or a series of standard text boxes stacked vertically). Each item could be a few characters or a few hundred characters long, and I just want them to enter a "sentence", and then tab to the next row, and always having another blank one ready to go at the bottom of the list.
I don't want to save any data to my SQL Server DB until they enter the entire list and then click on a "save all" button. When they hit the "save all" button they will be given a preview screen where the data will be presented as standard HTML ordered list. If they confirm/save, then each row of the grid will then be saved as a separate row into my SQL Server database (with an index to remember the order).What ASP.Net (or Jquery/javascript) UI control would be the best to use in this situation? (i.e. just for the data entry part - the rest I got covered).
I have a column with a random length of text, basically it's an old crappy mfg system that stores data in a tilde delimited list. I need to output this column into each seperate column for a view. Column names don't matter, they can all be unnamed but so long as the data returns as seperate columns is what I'm after.
[Code]....
This has got to be more simple than I'm making it. I want to generate a listbox with years for the values. It needs to be dynamic. It needs to list from 17 years ago to 25 years ago. This is what I have so far, I get the correct number of items in the listbox, but I don't get the correct value. They are all "1985".
<%
Dim y As Integer
Dim NextTime As Date = Now
Dim bday_yr As New ListItem()
y = 0
For y = 17 To 25
NextTime = DateAdd(DateInterval.Year, -y, System.DateTime.Now)
bday_yr.Value = NextTime.Year
bday_yr.Text = NextTime.Year
BirthYear.Items.Add(bday_yr)
Next
%>
<asp:DropDownList ID="BirthYear" runat="server">
</asp:DropDownList>
I displayed some words in text box.. The words are,
performcontextEmpRecordhostcontextEmpRefertlcontextEmpdatadatascontextEmpofficemain
contextEmppersonalhardwarecontextEmpsalaryhighcontextEmptype
Now, I want to store these words into database table using asp.net with c#..
each word should be stored into new row..(i.e words spilit into space)..
I am using asp.net 3.5 file upload control. I can browse the files when click the Browse button. Same time I can't browse the file when enter key is pressed while file upload control is in focus. I am using master page. I am in urgently need of this.I want to browse the files when enter key is pressed while upload file controll is in focus.
View 1 RepliesWhy this code allows user do not enter any text? AFAIK + means One or more .
[code]....
I want user was able to enter only 9 digits. And this field is required. How can I do that?