This is a migrated thread and some comments may be shown as answers.

Where can I go to learn how to code within telerik.

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
IQworks
Top achievements
Rank 1
IQworks asked on 13 Mar 2009, 05:32 AM
 OK.
  I keep spending a lot of time looking for examples especially when I want to access controls, fields, values etc. 
  Am I within an itemcommand, if so, use ownertableview.FindControl ....
 If I am in ItemCreated, then use so and so .....
  IS THERE A PLACE I CAN GO THAT WILL HELP ME UNDERSTAND "WHEN TO USE WHAT"  WHEN I NEED TO ACCESS CONTROLS, FIELDS AND VALUES IN MY GRIDS, FORMS OR ANYTHING ELSE ? 
  I could wait until I code enough to have a bunch of examples from a bunch of events, or, I can learn what the heck i am doing here. 
  Any advice ?
 

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Mar 2009, 06:50 AM
Hello David,

I believe Telerik provides ample documents on almost every event, property and functionality of a grid. Let me point you out to a few resources which can help you out:
Accessing Cells and Rows
Differences between ItemCreated and ItemDataBound events
Event sequence in grid

-Princy.
0
IQworks
Top achievements
Rank 1
answered on 13 Mar 2009, 08:39 AM
Thanks Princy for your quick reply.  And I cannot wait to look at the links you have provided, they may answer my issues.
 Yes, its true, they do provide ample SAMPLES.  They are GREAT !! Thats the problem, I need to learn HOW to fish not given a fish I guess is one way to explain it.
 I use the samples all the time. My issue is that I want to KNOW how and why I am doing some of the things in the samples that I am doing. I would like to see something like :
ItemBound
 Use
      findcontrol - why, when and how.

itemcommand
  use
     findcontrol - why, when and how.

Princy, not just for itembound and itemcommand, but for the slew of events. findcontrol is just an example of one of the ways you access various grid data, form data, etc.  The variations of using Control[0]. Why and when do you use "as TextBox" when the (TextBox)casts should do. Sometimes you just use e.item with no casts, why, when etc.
Another one is when is it time to traverse ? 
I should probably be sending this next part to MS but - debug datatips dont readily show your field values, heck, they show you everything you dont need at the moment. Most of the time Im just looking for the simple field name and value and I have to go down the debug datatip jungle to figure out how to form a simple statement.
sometimes you see stuff in the debug datatips that dont appear in the intellisence - it makes NO sense sometimes to me - but I am sure there is a ryme or reason for every statement that finally WORKS. Thats my point, how do you figure that out without searching through forums, blogs and telerik samples.
I love the samples that suddenly say FindControl("fieldname"), where can i see a list of the fieldnames available besides my declarations. how about ["itemindex"]["fieldname"] etc. I know now that this has to do with the parent, but man, learning the way I am learning is a slow go - fun - but a learning curve. Just looking for an edge ?  By the way, whats the latest RAD control book available that you like - is there one for Telerik ? 

thanks again Princy
sorry for the rant,
You always come through ....
Tags
General Discussions
Asked by
IQworks
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
IQworks
Top achievements
Rank 1
Share this question
or