Click here to Skip to main content
15,895,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Web page compiler error Pin
Abhijit Jana2-Jan-10 9:21
professionalAbhijit Jana2-Jan-10 9:21 
GeneralRe: Web page compiler error [modified] Pin
mavoc4-Jan-10 6:50
mavoc4-Jan-10 6:50 
QuestionGetting function value Pin
Hema Bairavan31-Dec-09 4:47
Hema Bairavan31-Dec-09 4:47 
AnswerRe: Getting function value Pin
Abhishek Sur31-Dec-09 6:41
professionalAbhishek Sur31-Dec-09 6:41 
GeneralRe: Getting function value Pin
Hema Bairavan31-Dec-09 6:49
Hema Bairavan31-Dec-09 6:49 
GeneralRe: Getting function value Pin
Abhishek Sur31-Dec-09 7:15
professionalAbhishek Sur31-Dec-09 7:15 
GeneralRe: Getting function value [modified] Pin
Hema Bairavan31-Dec-09 8:06
Hema Bairavan31-Dec-09 8:06 
GeneralRe: Getting function value Pin
Abhishek Sur31-Dec-09 8:39
professionalAbhishek Sur31-Dec-09 8:39 
Hema Bairavan wrote:
you said putting runat="server" i.e server side control cannot be used directly inside the repeater


what... No no. You can put runat="server" control inside ItemTemplate of a Repeater and only those controls that you state runat="server" could be found during ItemDataBound Event.

I said you cant specify server tags in the designer when you place runat="server"

<asp:Label runat="server" Text="<%# Eval("fao_ddlcategory")%>" is not possible
rather
you use
<span><%# Eval("fao_ddlcategory")%>" </span> which is client side control, or rather you directly place in the TD block.


Hema Bairavan wrote:
here the description is printing correctly and why not my funcion??


Ya.. It will print. Actually writing javascript:func in the html is meaningless. javascript protocol is used to define that the line prior to it is a javascript one. If you want to place/run a script, place it below all controls in a script block like
<script type="text/javascript">
GetCatDesc(val);
</script>

If you place your javascript in RegisterStarupScript it will appear at the bottom of the page and thus find all the control in it.

Hema Bairavan wrote:
in this line am getting
Error 26 Cannot implicitly convert type 'object' to 'string'.


Yes of course, you must do
lbl.Text = DataBinder.Eval(e.Item.DataItem, "fao_subcategory") as string;

Hope you get the issues right..

Happy New Year from me. Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Windows7 API Code Pack

Simplify Code Using NDepend
Basics of Bing Search API using .NET

Questionasp.net vb radiobuttonlist object reference Pin
janetb9931-Dec-09 4:31
janetb9931-Dec-09 4:31 
AnswerRe: asp.net vb radiobuttonlist object reference Pin
janetb994-Jan-10 10:33
janetb994-Jan-10 10:33 
QuestionNeed some expert advices on ViewState Pin
James Shao31-Dec-09 4:26
James Shao31-Dec-09 4:26 
AnswerRe: Need some expert advices on ViewState Pin
James Shao31-Dec-09 20:19
James Shao31-Dec-09 20:19 
AnswerRe: Need some expert advices on ViewState Pin
Anurag Gandhi31-Dec-09 20:57
professionalAnurag Gandhi31-Dec-09 20:57 
GeneralRe: Need some expert advices on ViewState Pin
James Shao1-Jan-10 4:26
James Shao1-Jan-10 4:26 
GeneralRe: Need some expert advices on ViewState Pin
Anurag Gandhi1-Jan-10 6:25
professionalAnurag Gandhi1-Jan-10 6:25 
Questionproblem with RSS feed - pubDate Pin
CrimeanTurtle200831-Dec-09 0:17
CrimeanTurtle200831-Dec-09 0:17 
Questiona Problem Reporting with Word Document Pin
alaminfad30-Dec-09 23:28
alaminfad30-Dec-09 23:28 
AnswerRe: a Problem Reporting with Word Document Pin
Estys31-Dec-09 2:05
Estys31-Dec-09 2:05 
Questionahmad abdulkader Pin
ahmad000930-Dec-09 22:41
ahmad000930-Dec-09 22:41 
QuestionDate Slider Pin
Subin Mavunkal30-Dec-09 22:26
Subin Mavunkal30-Dec-09 22:26 
GeneralRe: Date Slider Pin
J a a n s31-Dec-09 1:30
professionalJ a a n s31-Dec-09 1:30 
QuestionUpdating a rpeater Pin
benams30-Dec-09 22:15
benams30-Dec-09 22:15 
AnswerRe: Updating a rpeater Pin
Abhijit Jana30-Dec-09 22:16
professionalAbhijit Jana30-Dec-09 22:16 
QuestionValidate name in text box Pin
MathewPV30-Dec-09 17:57
MathewPV30-Dec-09 17:57 
AnswerRe: Validate name in text box Pin
nagendrathecoder30-Dec-09 18:02
nagendrathecoder30-Dec-09 18:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.