.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Multiple different text formattings in one text block...?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :JQuery
 

Hi,

I have a text block which is data-bound to one public string, and this public string is made up of many private strings in the class, e.g.

public string PubString1 { get { return _privString1 + " " + _privString2 + " " + _privString3; } }

These three private strings then appear in the text block, but say I'd want _privString1 to appear in font size 40, in red, underlined, while _privString2 was default, and _privString3 was size 33 and blue... how would I achieve that?

Cheers for any help :)




View Complete Post


More Related Resource Links

Filter search over multiple text columns

  

Hi everyone,

I'm working on a library that stores information on various cases. The case table has several columns that contain descriptive strings on what happened in the case. I would like to create a single filter that returns all cases where the search string is found in any of the columns. I've looked at Dynamic Data Filtering, but as far as I can tell, the "Contains" filter only allows you to connect to each column individually. Has anyone tried this?

Thanks,

Andrew


How to get character count in 'Multiple Text 'column using Calculated Column?

  

Hi All,

I have a multiple text box in a list

I want

  • A column which lists number of characters in multiple list column example 188, 199 etc
  • Multiple character column must not have more than 200 chars
Is this possible?

Appreciate all the help!

-saumil


Import Multiple Text Files

  
I have 150 data delimited text files that need to be imported to a text file. Each of them is named for the table for which they contain data e.g. address.txt contains data that needs to imported to the address table. So what I have done is create a SSIS package that contains a ForEach loop that iterates through the the files, and has a Load Data field object. What I haven't been able to figure out is what logic needs to be added for the Data Flow. I know I will need a Flat File Source with a connection source that is tied to file it is processing.  However, after all of that I am not sure what do because each text file contains a different table with different columns. Can someone explain to me how to handle this? Thanks, Isaiah 

Formatting Multiple Lined Text Box

  
I have an expression as  Field!name1.value+VBCRLF+Field!name2.value My requirement is i need to have the first line as bold and rest in normal text in SSRS 2005  

Infopath 2007 Repeating Table - Multiple Value Column Text - Hiding Rows based on Column text values

  
Infopath 2007 browser based form Full Trust Example: I have a repeating table (FruitChoice) that has multiple columns. Both drop down list point to sharepoint list data sources. Choose your tree ft. drop down list – 6Ft Choose your Department drop down list - 103 This repeating table is conditional on the drop down values. This works great. Trees     Fruit       Cost   Date Ordered    Date Delivery Department 6Ft        Peaches                                                        103 3Ft        Apples                                                          102 3Ft        Peaches         &

Wrap text in Multiple Lines of text column

  
I had a List created from Calendar. I then took two copies of it to use for two slightly different purposes. I created a View on the list in both cases using the "Newsletter" style. On one of the list the Description column wraps text. In the other one it does not. Any idea what I could have done differently? Is there a checkbox in the View definition or the Column definition that toggles wrap text ?

How to save a multiple user control to a few single record text?

  
I have a list with people pecker control that admits multiple users.
I like to have another list with one record for each user in the control that loaded before.
Is there any way in InfoPath or in a workflow to use something like FOR EACH to take one by one user in a control and write/update records after that?
Thank in advance
Ramiro

change the forecolor of a text block inside a listView

  

Hello I'm new to WPF

I have a list view as follows:

 

 

 

<ListView Name

Update Multiple Row in same column with different text

  

Hi all!

I am trying to explain with example what i want to do. I have a table that has names and surnames of people. Some of names are null in table and i know its number. I want to update null values but i want to give to every row different names not updating with single name.

ali yilmaz
NULL mert
NULL pol

Can i update these two records with names of 'ahmet' and 'yasir' within one single update statement

I hope i could explain my question. Any help would be so appreciated.

Thanks...


Ahmet UZUN

In a button's control template, how can I alter the color of a text block?

  

Using WPF 4, I'm trying to create a button style (that would preferably work in SL, as well) that alters the text color of any contained text when the button is mouseover'd. Since I'm trying to make this compatible with Silverlight, I'm using the visual state manager:

<Style TargetType="{x:Type Button}">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="Button">
        <Border x:Name="outerBorder" CornerRadius="4" BorderThickness="1" BorderBrush="#FF757679">
          <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="CommonStates">
              <VisualState x:Name="Normal" />
              <VisualState x:Name="MouseOver">
                <Storyboard>
                  <ColorAnimation Duration="0" To="#FFFEFEFE"
                          Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)"
                          Storyboard.TargetName="contentPresenter"/> 
                </Storyboard>
              </VisualState>
            </VisualStateGroup>
          </VisualStateManager.VisualStateGroups>
          <Grid>
          

SSIS - load table from source text file with multiple record lengths

  

I have a text file that has mulitple records lengths that I need to load into a table.  The file has multiple record types and each record type detemines the length of the record.  Let me try to explain...the file has a balance line 1, multiple detail records, balance line 2, and a trailer record.

The first record is a balance line 1, which has a record length of 144.

Detail records with a record type of inv or crd, will have a record length of 147.  The remaining record types will have a length of 144.

The second to the last record is balance line 2, which has a a record length of 156.

And the trailer record, which has a record length of 162.

Here is a portion of my source file.  I have made each line bold where you can see the rec type.  The record starting with 9999 is the trailer.

077700001BL100000002010100120101008BALANCE FORWARD 0000000000000000001081175D0000000000{0000000000{0000000000{000001081175D00 0000000000{

077701000INV01953172010100120101008GROCERY - DRY 0000000000000000000073504I0000016678K0000000852G0000000000{000000057679D011N 0000093201E010

07779008099000000002010100820101008KC CASH REC. 0000000000000000001081175M0000000000{0000000000{0000000000{000001081175M00 00000000

how to block user written text in combobox while executing the program

  

'i have written the following code:

Private

 

Sub Combo_Mth_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)

Load multiple record length text file into table using SSIS

  

I have a text file that has mulitple records lengths that I need to load into a table.  The file has multiple record types and each record type detemines the length of the record.  Let me try to explain...the file has a balance line 1, multiple detail records, balance line 2, and a trailer record.

The first record is a balance line 1, which has a record length of 144.

Detail records with a record type of inv or crd, will have a record length of 147.  The remaining record types will have a length of 144.

The second to the last record is balance line 2, which has a a record length of 156.

And the trailer record, which has a record length of 162.

Here is a portion of my source file.  I have made each line bold where you can see the rec type.  The record starting with 9999 is the trailer.

077700001BL100000002010100120101008BALANCE FORWARD 0000000000000000001081175D0000000000{0000000000{0000000000{000001081175D00 0000000000{

077701000INV01953172010100120101008GROCERY - DRY 0000000000000000000073504I0000016678K0000000852G0000000000{000000057679D011N 0000093201E010

07779008099000000002010100820101008KC CASH REC. 0000000000000000001081175M0000000000{0000000000{0000000000{000001081175M00 00000000

Multiple result set to a single text file

  

HI

 

I have a stored proc which gives me 5 resultsets.

I want to store these  in a flat file.

all the result set columns are different.

How can i store all these results into a single file in SSIS.??

 

sample resultset columns::

date  name

date  name   id    value

date  name   id    percentage

date  name  id     totalvalue

date  name  duration

 

Thanks

 


How do you change the width of a multiple line of text box on a custom list form?

  

Hi,

 

I have a custom list that has been added using SharePoint Designer to a web part page as a custom list form (Insert - SharePoint controls.)

The list has many single lines of text and one multiple line of text.

The multiple line of text is too wide - I need to make it narrower but how?

Anyone?

Thanks!

 

 


Multiple Lines of text

  

Hi

I want to be able to enter multiple lines of text into a field...... but I only want the first 100 chrs to be displayed, but with a link to show the full detail.

E.g. These would be the first few chrs on test but to display the rest you need to click.....more

Is this possible in a Share Point list?

The reason i want this is to enable Issues and Problems to be recorded in a list and the list be used to manage each issue. The notes associated with each issue will build up over time but I want the list to remain easy to read. Therefore I want the full detail of the issue to be on a separate page that is available via a ....more link within the list.

 

Is this possible?

I'm using Share Point 2010


Multiple Fore Colors in a Text Box

  

Hi All,

I want to use multiple fore color for text in a Text Box.

Is it possible.If so ,Pls help me.

Regards,

Ram


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend