Sorry Guys, I thank you for ur reply.I found the problem myself and sloved the issue.Below is code that i used previously where i faced the problem <xsl:for-each select="Customer//CustomerDetails"> <xsl:value-of select="DateTimeConverter:ToDateTimeFormat(Customer//CustomerDetails/DOB,'dd-MMM-yy')" /> </xsl:for-each> Inside the for-each loop value for the DOB parameter is reterived as empty. Then i solved the issue by using the msxsl function as shown below <xsl:value-of select="msxsl:format-date(DOB, 'MMM dd, yyyy')" /> Regards Mahesh.J
Mahesh J
Posts
-
Empty value is passed while reading value from an XML node -
Empty value is passed while reading value from an XML nodeI am using the class which is placed in the APP_Code folder
-
Empty value is passed while reading value from an XML nodeHi.. I am using a function to format the date values which are read from the XML document,but in XSLT while using the following coding i am receiveing only empty value in the DOB parameter.How can i solve the issue xsl:value-of select="DateTimeConverter:ToDateTimeFormat(DOB, 'dd-MMM- YYYY')" DOB is the short form of Date of birth node below is the XML structure < Name > Guest < /Name > < DOB > 2009-06-12T02:00:47.187 < /DOB > < Age > 25 < /Age > while reading the DOB node i am reteriving only empty values how can i solve this Mahesh.J Thanks Mahesh.J
-
Disadvantages of using Enterprise LibraryHi.. I want to know some specific disadvantages of using enterprise library. Regards Mahesh.J
-
CheckBox List IssueHi... I am creating a checkbox list dynamically, and i am checking the selected items.When the page gets postback more than once i am unable to check the selected check box in the list.It always returns false, What could be the problem. Thanks in Advance Mahesh.J
-
Filling Dropdown using Javascriptvar ddlVendor = window.opener.document.getElementById(gId); //Clears the combo box contents. for (var count = ddlVendor.options.length-1; count >-1; count--) { ddlVendor.options[count] = null; } var vendorNodes = listNode.getElementsByTagName('Table1/Name'); var vendorIds = listNode.getElementsByTagName('Table1/Id'); var textValue; var idValue; var optionItem; //Add new vendors list to the vendors combo box. for (var count = 0; count < vendorNodes.length; count++) { textValue = GetInnerText(vendorNodes[count]); idValue = GetInnerText(vendorIds[count]); var newOption = window.opener.document.createElement('OPTION'); newOption.text = textValue; newOption.value = idValue; ddlVendor.options.add(newOption); } ddlVendor.selectedIndex = count-1;
-
Filling Dropdown using JavascriptHi, Thanks. I have used that option only. But still after the postback the filled items gone.
-
Filling Dropdown using JavascriptHi, Thanks for your reply. Please tell me the solution. Thanks.
-
Filling Dropdown using JavascriptHi, I am filling the dropdown using javascript. I have given the selected index also. But after any server event the filled values are gone. What could be the reason. Thanks.
-
Running Excel Macro From IIS in ASP.Net2.0Hi.. In my current project i have to run a macro in the excel from IIS please give me any suggestions. Thanks in Advance Mahesh.J
-
JavaScript with DropDownListHi.. Thanks. I checked the code but it is not working
-
JavaScript with DropDownListHi... I am using a dropdown list with autopostback = true. I am performing validation using JavaScript with the fallowing function function ddlCheck() { var dt = document.getElementById("<%= ddlClassRoomNo.ClientID%>").value; if (parseInt(dt) != 0) { return true } else { alert('Select a value') return false } } i am calling this with setting attributes to the control on the page load event just like this ddlClassRoomNo.Attributes.Add("OnChange", "return ddlCheck();") it works fine but when the condition is true the AutoPostback is not happening how can i solve this. Thanks in Advance
-
Check Boxes in GridViewNo i have to use checkboxes only
-
Check Boxes in GridViewHi... I am using a Gridview in my project, which contains 5 checkboxes in a row. when i select a checkbox in a row i want to uncheck other 4 checkboxes (if they are checked already)in the same row. How can i perform this. Thanks
-
Popup Window in FireFoxHi.. I am developing a web application which needs pop up windows. I have used the javascript showModalDialog to display pop up in IE. But what is equal method to display a pop up window in Firefox Thanks In Advance Mahesh.J
-
Two Select Buttons in GridViewHi.. In my project I am using a gridview which contains two select buttons per row.How can i determine which select button was clicked. Thanks in Advance Mahesh.J
-
Master Page IssueHi... How can i perform the body Onload event of a content page, while using Master Page. Since there is only one body tag in the Master Page. Thanks in Advance Mahesh.J
-
Master Page ProblemHi.. Hi, I am trying to use couple of server controls in my master page and I need to identify the same at the client side(javascript). But in ASP .NET2.0 the server controls are appended with "ctl00_ctl00_" to the control id. How can I solve this problem. Thanks Mahesh.J
-
How to Display Fixed Header in GridviewHi... I am using a Gridview control which i can scroll vertically, when the rows are scrolled i want to set the Header as a fixed one. How can i perform this. Thanks Mahesh.J
-
Performing Double Click Event in a ListBox [modified]Thank you Mahesh.J