Great job!!
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Great job!!
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
check this link.. http://stackoverflow.com/questions/3767965/how-to-access-an-asp-control-in-a-class-file[^] http://niitdeveloper.blogspot.com/2010/10/access-page-control-from-class-file-in.html[^] Its in c#.But hope it might help you.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, I have a question here,
TryCast(myPage.FindControl ("rightcolumn"), ContentPlaceHolder)
In this sentence is 'rightcolumn' your contentplaceholder id in your page? To access any control in your content form,use the below way.
Dim MyTxt As TextBox
MyTxt =CType(YOURContentPlaceHolderID.FindControl("YOURTextBoxID"), TextBox)
Hope this helps.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
hi, I hovered my mouse.The parent div expanded to show the content with the blue background.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, I have opened the link.Are you looking at 'Family Health Organisation' ,'Family Health Team' accordions? Its looks fine for me.What is the behaviour that you are expecting?
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, Try the below code,
Hope this helps.
-Manognya
__________________________________________________
$ God gives what is best.Not what all you wish :)
Nice examples.Thanks.Its more clear now.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Can you please brief up little more.. If you are trying to check the radio box list using javascript, it can be done as: for(var i = 0; i < radioLength; i++) { radioObj[i].checked = false; if(radioObj[i].value == newValue.toString()) { radioObj[i].checked = true; } where add all the radio button objects to radioobj object. Hope this helps.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, When you are doing a SQL database restore, are you over riding the current database? 1.In the restore window, select the database source for backup. 2.select options from the left pane. 3.check 'over write the existing database' check box. 4.Restore. Hope this helps.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, Please use the below code
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
onrowcommand="GridView1_RowCommand">
<Columns>
asp:TemplateField
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server"
CommandArgument='<%# Eval("url") %>' CommandName="cmd"><strong class="highlight">Download</strong></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
For handling this on code behind, see the link below: http://www.daniweb.com/web-development/aspnet/threads/282306[^]
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, Please see the below code snippet to use the enums in javascript.
var Days = {"sunday" : 0, "monday" : 1, "tuesday" : 3, "wednesday" : 4, "thursday" : 5, "friday" : 6, "saturday" : 7};
document.write("<b>Day Names Enumerator=</b> " + Days.friday + "<br />");
Output:
Day Names Enumerator= 6
Assign the json values to the enum in the javascript. Hope this helps.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, According to my understanding you want Search and Description in the main Body Div tag.So that Search and Description be on one another.But when you run the code, they are one below the other. Try giving the Z index values to the search and Description divs.This will make the divs to over lap.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Agree..templates is always little tricky(for me either ;))...But, Once got..makes life easy:)
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, Few tips to maintain the tabcontrol performance: 1.Do not drag drop many objects on to each tab.Instead used the user control and gives instances on each tab. 2.Check if you are loading data in all tabs each time a tab is clicked.(Page Posting back?). 3.Which tab control are you using ? asp.net or ajax? (put the tab control in ajax update panel to reduce the post backs) Hope this helps to figure out where it is taking more time to load.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Also, look at the link http://msdn.microsoft.com/en-us/library/bb534966.aspx#Y1297[^] Do not forget to vote the answer that serves the purpose ;)
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi John, The syntax of OrderBy is:
Public Shared Function OrderBy(Of TSource, TKey) ( _
source As IEnumerable(Of TSource), _
keySelector As Func(Of TSource, TKey) _
) As IOrderedEnumerable(Of TSource)
Parameters
source
Type: System.Collections.Generic.IEnumerable(Of TSource)
A sequence of values to order.
keySelector
Type: System.Func(Of TSource, TKey)
A function to extract a key from an element.
we need to convert the source to be of type
System.Collections.Generic.IEnumerable
Hope this helps.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Quote:
__John_ wrote:
List<Table_People> listPeople = people.ToList(); var peopleOrdered = listPeople.OrderBy(name => name.Name).ToList();
To order the list, it requires the set of names to be in a format and we are storing it as the enumerable list.
-Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Oops!! My mistake...Thanks for the correction.dint notice its WPF -Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, Is the runat="server" attribute attached to the control? can you post code of atleast one control? -Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)
Hi, try the below code snippet var newList = people.OrderBy(name => name.Name).ToList(); -Manognya __________________________________________________ $ God gives what is best.Not what all you wish :)