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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Silverlight RichTextBox Scrolling Problem

Posted By: Asim Sajjad     Posted Date: November 26, 2012    Points: 2   Category :Silverlight
 
When assigning value to the RichTextBox and there is larger text and vertical scrolling of the control display then it will scroll to bottom instead of scroll bar to top which need to fix. Which you can see in the Image 1.


View Complete Post


More Related Resource Links

the problem of silverlight sildeshow webpart in sharepoint

  

I added this silverlight sildeshow webpart (http://www.sharepointevolved.com/blog/Lists/Posts/Post.aspx?List=0586f39d%2Dc3f2%2D4f6c%2Db61f%2D2a33a3fcd95c&ID=27) which  customized a SharePoint data form web part with XML and XSLT to my sharepoint site which uses Active Directory authentication. it looks great (I published the webpage). but after I logout the system account, and login as my regular account with Read permission. the silverlight webpart can't show up. I check the permission of the Picture Library. there is no problem. I can see the pictures in the Picture Library with my regular account.
Anybody has the same problem? how to fix it?

Thanks
Sean


the problem silverlight sildeshow webpart in sharepoint

  

I added this silverlight sildeshow webpart (http://www.sharepointevolved.com/blog/Lists/Posts/Post.aspx?List=0586f39d%2Dc3f2%2D4f6c%2Db61f%2D2a33a3fcd95c&ID=27) which  customized a SharePoint data form web part with XML and XSLT to my sharepoint site which uses Active Directory authentication. it looks great (I published the webpage). but after I logout the system account, and login as my regular account with Read permission. the silverlight webpart can't show up. I check the permission of the Picture Library. there is no problem. I can see the pictures in the Picture Library with my regular account.
Anybody has the same problem? how to fix it?

Thanks
Sean


Dialog attachment scrolling problem

  
When opening an item from a list in a dialog and then attaching a file we have noticed that the vertical scroll bar disappears from the dialog. You can still navigate the form using the Tab key, but is there a way to restore the scroll bar or is there a Hotfix we can get to do repair this issue? Thanks.

Problem when Append DataFormats.xamlPackage RichTextBox

  
public partial class Window12 : Window { public Window12() { InitializeComponent(); } FileStream fStream; private void btnClick_Click(object sender, RoutedEventArgs e) { TextRange ran = new TextRange(txtMsg.Document.ContentStart, txtMsg.Document.ContentEnd); ran.Save(fStream, DataFormats.XamlPackage); txtMsg.Document.Blocks.Clear(); txtMsg.Focus(); } private void Window_Loaded(object sender, RoutedEventArgs e) { string fileName = @"D:\\part1.xaml"; if (File.Exists(fileName)) fStream = new FileStream(fileName, FileMode.Append, FileAccess.Write); else fStream = new FileStream(fileName, FileMode.Create); txtMsg.Focus(); } private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { fStream.Close(); } } Hi, I have WPF RichTextbox and a button When I insert the text or Image and Click the button the text will save in D: drive with DataFormats.XamlPackage Initially it works fine, when I try to append the text (Close window and open again then insert the text )It gives the error in range.Save(fStream,DataFormats.XamlPackage); Error Message:Cannot open package because FileMode or FileAccess value is not valid for the stream.am

Problem with Silverlight & WCF service

  

Hello,

I've got a silverlight app which calls a WCF service deployed in SharePoint. The entire site is secured by https, so the WCF service is too. When I deploy the Silverlight app, it works ok from the front-end server itself. But when opened from a different machine outside the network, it throws an error: "The remote server returned an error: NotFound". I checked the WSDL, what I noticed is that the port address in the bottom section of the file lists the internal network address. So I tried explicitely hardcoding the correct (internet) address in the constructor of the WCF service object, but that doesn't seem to do anything.

I tried fiddler, but because the site is secured, that's not giving me any clues either. Where can I look next or what could be wrong!?


MCTS in Web Application Development in .NET 2.0

richtextbox problem

  
 private void pasteToRTB(string fileName,RichTextBox rtb)
    {
      try
      { 
        rtb.Text = "";
        if (File.Exists(fileName))
        {
          
          Image img = Image.FromFile(fileName);
          img = resizeImage(img);


          Clipboard.SetImage(img);  // <-- error at this line
          img.Dispose();
          img = null;
          rtb.SelectionStart = 0;
          rtb.Paste();

          Clipboard.Clear();
        }
      }
      catch (Exception ex)
      {
        MessageBox.Show(ex.Message + "__" + ex.StackTrace);
       
      }
    }

when i paste the file from picturebox to richtextbox....

it causes error at this line "Clipboard.SetImage(img);"
error message: Requested Clipboard operation didi not succeed, why???


Sharepoint - Silverlight - caching problem

  

I have a Sharepoint 2007 site (Custom Template) . The data entry forms are created in Silverlight and host it on Sharepoint.

I use a User Control hosting webpart and host the XAPs.

To be in details : I place the XAP under _layouts. I create a user Control and place at _ControlTemplates and use a Object Tag in the User Control and refer to the XAP. Now on the Sharepoint page I add a (Custom) User COntrol hosting Webpart , refer the User Control (.ascx) , so that my XAp is hosted on the Sharepoint Site.

Problem Statement : I face a refresh problem when I deploy the XAP to _Layouts. When ever I deploy , if I replace my existing XAp with the latest XAP, the changes in the latest XAP are not being reflected immediately. i have to restart my Server for the latest XAp changes to be visible. Instead Ii am creating a new Folder in _layouts , every time I deploy the XAP and updating the reference path in the UserControl(.ascx) to this XAP, which works.

What is solution so that I dont create folders every time i deploy ? Can anyone please help. How can I get rid of this caching / history problem.


D V Suman Gupta

richtextbox image problem

  
can i paste more than 1 pic/image to richtextbox and then select specific image such as index or another way?
 if (File.Exists(fileName))
        {

          Image img = Image.FromFile(fileName);
          img = resizeImage(img);


          Clipboard.SetImage(img);
          img.Dispose();
          img = null;
          rtb.SelectionStart = 0;
          
          rtb.Paste();

          Clipboard.Clear();
        }
can i paste 2 picture from two file path into same richtextbox and how to select one picture each time from the above code

Browser problem with silverlight

  

Hi friends, i developed one silverlight application in windows and hosted in IIS 7....it runs fine in windows OS...while i try to view the same page in Linux(RHEL5),,it shows blank screen.

i downloaded and installed FireFOx 3.6.15 in RHEL5....it asked install Moonlight plug in......i installed that plugin also....but it alwalys shows that Microsoft silverlight icon in browser...

Can you please help me?

Silverlight RichTextBox Control For Beginners

  
Need to use the RichTextBox control of the Silverlight 4 and need ways to bind the RichTextBox control to the view model properties.

Serving Silverlight Apps from Windows Mobile

  
Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Implementing Continuous Scrolling UI Pattern in ASP.NET

  
When you have numerous records to show, we have to resort to Paging. There is a better alternative to display voluminous data (especially read only data) while providing a better user experience & also making efficient use of server bandwidth - the Continuous Scrolling or Infinite Scrolling UI Pattern. Read on to know more about how to implement Continuous Scrolling UI Pattern in ASP.NET with a GridView.

Problem to group radio button across gridview rows

  
In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:

Building a 3-Tier App with Silverlight 3, .NET RIA Services, and Azure Table Storage

  
Silverlight 3, .NET RIA Services, and Windows Azure Services Platform makes a 3-tier Cloud application easier to build: Silverlight 3 as presentation tier, .NET RIA services as the business logic and data access tier, and Windows Azure Table as the data storage tier. The sample application in this article demonstrates the architecture with a simple Survey application with all these technologies working together from Windows Azure.

Silverlight Simple Animation

  
Silverlight has several built in techniques for animating controls. Many of these technologies are particularly useful for creating simple animations meant to decorate a web page with eye catching movement that draws the reader's attention. In this post I will skip over these decorative technologies, and instead show how to create a simple animation using a technique similar to those used in many games.

Regrading Sharpoint 2010 problem and solutions

  
http://emanonsolutions.blogspot.com/
We can write your question and problem on this blogger.you get ans.use.

This sharpoint 2010 problem solving threads

  
Hi friend,

you can use this thread to solving problem and solutions.
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