I'm trimming the dealer to enter the repeater to hide the button based on the status column, but that data Iteem.dealstatus comparison is having trouble obtaining
Check here for what I code
protected mine myrepeater_ItemCreated (Object Sender, RepeaterItemEventArgs e) {if (e Item.DataItem.DealStatus = is in = "Pending Sale") {e.item.FindControl ("LinksDownloads"). Visible = false; } If (E.Eight.Detitam.Delstats == "quote") (EITMFundControl ("link downloads)" visible = false; E.Item.FindControl ("LinkPurchase") .Visible = false ;}}
< P> And here is my repeater code
& lt; ASP: repeater id = "SearchRepeater" runat = "server" OnItemCreated = "myrepeater_ItemCreated"> gt; ItemTemplate & gt; LT; tr & gt; td class = "sorting_1" & gt; ASP: linkbutton runat = "server" command agreement = '& lt;% # Eval ("DealId")% & gt;' onclic = ' OnClCl "" "& gt; & lt;% # Eval (" Full Name ")%> | gt; & lt;% # Eval ("model")% & gt; & lt; / td & Gt; & lt; td class = "" & gt; & lt;% # Eval ("Win")%> & lt; td class = "" & gt; & lt; % # Eval ("Dt")%> gt; & lt; / td & gt; & lt; td class = "" & gt; & Lt;% # Eval ("DelSTatus")% & gt; & Lt; / Td> & Lt; Td square = "" & gt; & Lt; Asp: LinkButton id = "PlanButton" CommandErment = '& lt;% # Eval ("DealID")% & gt; Class = "btn btn-default btn-xs btn-block scheme" runat = "server" onclick = "linkPlan_OnClickkPlan_OnClick" & gt; Plan & lt; / ASP: LinkButton & gt; & Lt; ASP: LinkButton ID = "LinkPurchase" class = "btn btn-default btn-xs btn-block purchase" runat = "server" & gt; Purchase & lt; / ASP: LinkButton & gt; & Lt; / TD & gt; & Lt; Td square = "" & gt; & Lt; ASP: LinkButton ID = "LinkDownloads" class = "btn btn-default btn-xs btn-block download" runat = "server" & gt; Download & lt; / ASP: LinkButton & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / ItemTemplate & gt; & Lt; / ASP: Repeater & gt; Here is the answer object DI = E. ITEM Datatoms; String position = databender.value (DI, "DelStatus"). Toasting (); Use a lable instead. Inside the Repeater & lt; ASP: Labels ID = "DealStatus_Lbl" runat = "Server" text = '& lt;% # Eval ("DealStatus")% & gt; / & Gt; Code being labeled lblA = (label) e.Item.FindControl ("DealStatus_Lbl"); If (lbla.Text ==) {}
Popular posts from this blog
I have a phone unit unit that contains many properties for many unit entity classes I An exception is given during the rendering of a template ("You must define a associated_property option or Create a \ __counter __ \ Examens \ ExamensBundle \ unit \ Grade Proxy :: __ toString service examens.examens.admin.fonctionnaire from the field option idGrade to the method is in SonataDoctrineORMAdminBundle "): CRUD: Line_ on line_list_orm_many_to_one.html.tw Fontionnaire.php class: & lt ;? Php namespace exams \ ExamensBundle \ Entity; Use the theory / ORM \ mapping as an ORM; / ** * PhoneNationLayer * / Class Fictionalair {//...//// ** * @VARAEfimens \ Examinations Bundle \ Unit \ Grade * / Private $ IDGed; //...//} FonctionnaireAdmin.php: & lt ;? Php namespace exams ExamensBundle \ Admin; Use Sonata \ AdminBundle \ Admin \ Admin; Sonata \ AdminBundle \ Datagrid \ ListMapper; Sonata \ AdminBundle \ Datagrid \ DatagridMapper; Sonata \ AdminBundle \ Validat...
My current schedule is: USERID Department NAME Real Estimated 522 Xyz Department John Wayne 2/1/14/14 8:34 522 Investigation Department John Wayne 2/17/1411: 21 78 9Except Department Bill Smith 2/17/14 9:41 78 9 Excise Department Bill Smith 2/17/14 11:16 78 9 Excise Department Bill Smith 2 / 17/14 11:50 78 9 Excise Department Bill Smith 2/17/14 12: 18 856 Explore Department Raul Castill 2/17/14 9:25 I have to create a function which enables me to enter a user ID and that Allows the user to return data from the person. However, I want to take the first line and want to hold the actual date and then put it in the 'column' check and I also carry the last row and store it in 'Check Out' in the column call. Basically, for every day, I want to record the records in the user's time and want to take the time for each day. This is what I have done so far " return @RtnValue table (useridd integer, deptname varchar (max), emplname varchar (100), actualDate da...
वास्तविक तालिका संरचना ==================== =============== slno ParnetID ParnetName संवर्धन मार्केटर 1 SLM1010S SKR.RAJASHEGARAN 2 43640 2 40049 M.KANNAN 3 43640 3 40018 M.PRABU 6 43,640 4 SLM1010S SKR.RAJASHEGARAN 2 43641 5 40042 M.KANNAN 3 43,641 6 40011 M.PRABU 6 43,641 मैं अपने प्रश्न हैं: अस्थायी रूप (slno, parentid, parentname, parentpromotionid, marketerid, (चयन गणना (*) parentmaster कहां t1.marketerid = marketerid और t1.parentid से चयन युक्त = parentid और t1.parentname = parentname और slno & lt; = t1.slno) ROWNUM के रूप में parentmaster t1 रूप से) का चयन करें marketerid, [2], [6], [3] अस्थायी धुरी से (न्यूनतम (parentid) के लिए parentpromotionid में ( [2], [6], [3])) के रूप में टी लेकिन मैं इस तालिका संरचना चाहते हैं MarketerID 2 से 6 3 43,640 SLM1010S 40,018 40049 43641 SLM1010S 40011 40042 यह आपकी मदद कर सकता है .. बाज़ार का चयन करें, [2], [3], [6] से ( मार्केटर का चयन करें, संवर्धन, ParnetID parentmaster) घ धुरी (न्यूनतम (ParnetID) ([2], [3], [6])) के ...
|
Comments
Post a Comment