how do i pass in a 2nd parameter to a Silverlight application (Application_Startup()), edit a textblock's attribute 'MaxHeight' (textblock is embedded within a datatemplate)? Users set the maxheight via the Silverlight control's properties.
edit textblock's maxheight when it's embedded within a datatemplate
146 Views Asked by brainsfrying At
2
There are 2 best solutions below
5
Vinit Sankhe
On
Assuming that your MaxHeight value is available on the web page (in HTML or Javascript) there are many ways to interact with the HTML / DOM from Silverlight plugin... you could use the ScriptObjects... http://pietschsoft.com/post/2008/06/Silverlight-and-JavaScript-Interop-Basics.aspx.
Is this what you are looking for?
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in XAML
- Can't open new instance of another window in my app, in WPF .NET 8
- Visual Studio throwing DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION when I try to add a log
- Deeplinking in .net Maui "Window was allready created"
- MauiApp crashes only in release mode at sideswitch android.os.DeadObjectException
- Move .net maui contents below the drawer when it's opened
- Both `TouchBehavior.CommandParameter` and `TouchBehavior.LongPressCommandParameter` are always passed as `null` to `Command` and `LongPressCommand`
- How do I change the size of a window?
- How can I force a .NET MAUI ContentView to fill the entire remaining space of its FlexLayout parent?
- How can I get this ComboBox to bind, populate the dropdown and write back selected value on update?
- MAUI-Animating each element of a BindableLayout
- Correctly set RadioButtonGroup for CollectionView in .NET MAUI
- Multiple color schemes depending on build configuration in WPF-application
- Select XAML file based on build configuration (Visual Studio 2022, WPF)
- The type was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built
- How can I tell if a control is actually Visible in UWP?
Related Questions in SHAREPOINT-2007
- getting error in access token process in sharepoint onpremise 2016 api
- remind about shared folder in Sharepoint
- Powershell to get full user list from old Sharepoint 2007 farm
- SharePoint List Validation
- Extracting Sharepoint site information from Sharepoint database
- MOSS 2007, programmatically downloading document folder; Can't connect to Document folder
- How to flag any missing documents in a document sets
- How to connect to SharePoint 2007 using C#?
- How to transfer all the data from one site to another in SharePoint?
- How to show external webpage on Sharepoint 2007?
- Powershell to click on 'ok' to delete an SP site
- Unable to access SharePoint repository from java
- Best way to migrate out of box SharePoint 2010 --> SharePoint 2016 site
- How do you remove links from sharepoint site with the XML Schema
- Download file from SharePoint 2013 with authentication
Related Questions in SILVERLIGHT-2.0
- how to interact with Silverlight VBA
- Silverlight 2 WPF XAML XAP architecture
- Silverlight and Non-Public members
- DataContextChanged event of CheckBox
- Autocompletebox SelectedText Bug
- Error in Upgrading Silverlight
- Silverlight : how to put a simple image?
- enable & disable tab item
- read in image from SharePoint 2007 custom list & display @ Silverlight 2.0 control,
- edit textblock's maxheight when it's embedded within a datatemplate
- Pass 2 parameters to Silverlight control from SharePoint web part project into Silverlight application
- Set MaxHeight of textblock embedded within data template of ListBox
- access textbox's property 'MaxHeight' within a datatemplate, silverlight 2.0
- Access and modify properties of grid row within data template
- Enable button on another .xaml page
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
you can pass multiple parameters by using Silverlight's initparams. you have to use a comma as delimiter
Thorsten