www.homeseer.com    
 

Go Back   HomeSeer Message Board > Developer Support > Programming & Plug-in Development

Programming & Plug-in Development All programming and plug-in development forums

Reply
 
Thread Tools Display Modes
  #1  
Old August 1st, 2017, 01:33 PM
mulu mulu is offline
Seer Deluxe
 
Join Date: Apr 2016
Location: CA
Posts: 272
PostBackProc

For most controls I can select if I want the whole page sent back or just the control that triggered the postBackProc. Mostly I try to just send back the data of the control but sometimes I need the whole page. What is the easiest way to figure out which control triggered the postBackProc? In some cases it can be identified with the key ""id" but in many cases that key is not included.
Reply With Quote
  #2  
Old August 4th, 2017, 02:19 AM
mulu mulu is offline
Seer Deluxe
 
Join Date: Apr 2016
Location: CA
Posts: 272
It turns out that some elements have an id property that is not documented. If you are using a development environment like Visual Studio then just type the variable and in the popup window check if there is an id field. Also for some elements the constructor has an input called p_name (or similar) which actually one would expect to end up in the name property but it actually appears in the id property.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you call blockUI from within the postBackProc? Kirby HS3 Plug-In Development 2 September 25th, 2015 11:03 AM
Can PostBackProc be implemented for ConfigDevice lamanmi HS3 Plug-In Development 2 June 30th, 2015 06:21 AM
Using variables in Postbackproc pawnies20 HS3 Plug-In Development 6 May 14th, 2014 05:08 PM
Multi Instance and PostBackProc stipus HS3 Plug-In Development 9 March 18th, 2014 01:43 AM


All times are GMT -4. The time now is 08:08 AM.


Copyright HomeSeer Technologies, LLC