MS CRM 4.0 how to access html controls in asp.net code behind (ASPX.CS) file
-
2012. május 3. 14:42
Hi,
MS CRM 4.0 how to access html controls in asp.net code behind (ASPX.CS) file ?
Thanks,
Srikanth Reddy
Az összes válasz
-
2012. május 3. 23:26
Hi Srikanth,
Can you please elaborate on your scenario. Will your aspx file sit in an IFrame inside an entity form? Do you want to just access values of entity fields or the fields in form and enable/disable them. I mean what do you want to do with these controls?
Please confirm the above so that myself or others can answer your questions in a better way.
Thanks.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
2012. május 4. 13:23
Hi Ashis,
Thanks for your quick response!
I have the requirement as below
I need to create a new entity for case entity "contacts". This information should be accessed through an iFrame in a tab on the case. The tab should be called contacts. The fields needed on the form are Name (text field), Email (text field), City (text), State (text), zip code (lookup). The iFrame should display all the fields in order given.
I need to bind all the field values with html literal control.
Can anybody explain how i can proceed for this requirement ?
Any help greatly appriciated.
Thanks,
Srikanth Reddy
- Szerkesztette: Srikanth_MSCRM 2012. május 4. 13:24
- Válasznak javasolta: Jamie MileyMVP, Moderator 2012. május 4. 13:44
- Válasznak való javaslatot visszavonta: Jamie MileyMVP, Moderator 2012. május 4. 13:44
-
2012. május 4. 13:44Moderátor
Any aspx modifications to the CRM site would be very unsupported and should not be attempted. You can create new entities from settings - customization - customize entities, etc.... you can also set up relationships to other entities there. You should never perform manual modifications to the aspx pages for CRM or make manual modifications to the database schema.
You can add an iframe to the site through the forms designer but if it is another entity in CRM maybe you would be better served by just adding an entity relationship and accessing it from the left nav.
Jamie Miley
Check out my about.me profile!
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Válasznak javasolta: Jamie MileyMVP, Moderator 2012. május 4. 13:44
- Megjelölte válaszként: Jamie MileyMVP, Moderator 2013. április 8. 17:33
-
2012. május 18. 0:01Hi Srikanth,
If any of the responses answered your question and you are satisfied, please mark the response as an answer and vote as helpful. This will help others to search on similar problems.
Thanks in advance.Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 