s
Contact Login Register
h M

Data Springs Modules Community Questions & Answers

Populate a DefaultValue in a field hidden in a panel

What is the best method to populate a textbox field with an SQL-driven DefaultValue that is in a Panel hidden from the user because of a role assignment?  Thanks bunches. //Mark
asked 6/18/2014
Mark Emmerson47
Mark Emmerson
  • HI Mark, I don't understand the purpose of doing this. If the textbox field is hidden from the user, then it doesn't exist if you view the page source, correct? In other words, the element doesn't get rendered so there's no way to set it to anything because it doesn't exist.

    If you need it to be set, then perhaps change it to a hidden field instead? Because a hidden field will get rendered so you can set it with an SQL default value.

    Let me know if this is a valid solution for you. --david - ToNew 6/19/2014

0 Answers

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...

10 inform moderator flags remaining

I am deleting this question because...

I am flagging this answer because...

10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...

Looking for a DNN Module?

If you’ve used Data Springs modules before, you know how easy they are to install and use. We have built each individual module in our collection with integration in mind, so when you opt for Collection 7.0 you’ll be able to install our entire toolbox quickly and start putting it to work for your business today.Yes, in the blink of an eye you will arrive on the scene like a Superhero!

Data Springs has long been recognized as a leader in the DotNetNuke (DNN) community through hard work, integrity, and commitment. We’ve helped thousands of people POWER UP their website and our Collection 7.0 will do the same for you.

You deserve more than just an average website. You deserve a MACHINE!

Enter your email below AND grab your spot in our big giveaway!

The winner will receive the entire Data Springs Collection 7.0 - Designed to get your website up and running like a DNN superhero (spandex not included).

Subscribe