So I have this application where I'm trying to create a notification panel which will display some data (which will be handled by a datasource based on an object) in a datarepeater. However some of these notifications need to behave different than others. For example a missed message notification needs 3 buttons (ignore,respond,delete) while a software version notification would only need 2 (ignore,delete). Is there any way to do this with the datarepeater or should I just create a different datasource and datarepeater for each type of notification
Change behavior of buttons in datarepeater
35 Views Asked by Luc Damhuis At
1
There are 1 best solutions below
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 FORMS
- How to add the dynamic new rows from my registration form in my database?
- how to play a sounds in c# forms?
- How can I prevent the password from appearing in the network tab payload?
- App script to prevent duplicate form submission
- php $_FILE variable undefined index
- Why are checkboxes not posted when unchecked?
- How do I integrate an existing delete function that is located in my routes.php file to a delete button in a modal in my hr.employees.profile.php?
- How to add default text in output to filled fields in Contact Form 7
- How to create yup schema for dynamic array of different objects
- How to Nest a TelerikGrid inside TelerikForm with Blazor
- How to customize woocommerce add to cart button position
- How to dynamically add two v-text-fields to a form when a button is clicked and uniquely identify them
- NG8003: No directive found with exportAs 'ngForm'. [plugin angular-compiler]
- single form and multiple submit (with multiple value)
- Receive AJAX Form data in Server side
Related Questions in DATAREPEATER
- wix repeater not show the contect , bigquery result to repeater
- How to access controls inside DataRepeater?
- Is DataRepeater available also in C#?
- ASP.NET repeater how to get two columns (header and items) to vertical
- Vue ignore data repetition
- Visual Basic DataRepeater Controls Disappear
- Retrieving .Text of Textbox located on Panel during DataRepeater_DrawItem event
- Change behavior of buttons in datarepeater
- Need Help filtering with DataRepeater
- Backgroundworker with datarepeater
- How to associate mysql data to DataRepeater controls
- c# - best way to iterate through all rows in a datarepeater?
- VB.net troubleshooting Data repeater when scrolling
- Asp.net Repeater Table style to show check boxes in the rows
- RadioButtonList with Repeater
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?
I have a data repeater and use the data binding event
(Button1_DataBinding)and then use:to get to the
gridviewrow, you can then expand that to look at the datarow in question:((DataRowView)((GridViewRow)((Control)sender).Parent.Parent).DataItem)["FIELD1"]I can then set the visible property for the button based on any field or combination of from the bound data, example:
sure there is a more efficient way but it works