User Profile

Collapse

Profile Sidebar

Collapse
Bhavs
Bhavs
Last Activity: Jan 30 '09, 01:43 PM
Joined: Sep 22 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Bhavs
    started a topic Help With Ektron....

    Help With Ektron....

    Hi Everyone,

    Can anyone help me with Ektron CMS...

    I am getting an error for

    LanguageAPI = Ektron.Cms.Cont rols.LanguageAP ();
    I am getting a null reference exception

    [SIZE=2]Thanks[/SIZE]
    [SIZE=2]Bh[/SIZE]
    [SIZE=2][/SIZE]
    See more | Go to post

  • Bhavs
    replied to OnServerClick not taking an argument
    Thanks Liawcv.

    I am now using the for each loop to fetch the value of the hidden field.
    The reason I am using a anchor control is I have to display a hyper link statement( and on clicking on this hyper link I need to take the control to log method)

    I have now got a better understanding about the repeaters. Thanks again.
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to OnServerClick not taking an argument
    Thanks Shwetha,

    I am using the same solution now.
    But the problem is finding the value of the Hiddenfield control. As the hidden field is inside a repeater.

    I am using
    Hidden Field hide = (Hidden Field)Repeater. FindControl("hi ddenfield1
    ]but I am geeting the value as null
    Is ther any way to retrive a Hidden Field value placed inside a Repeater control??
    See more | Go to post

    Leave a comment:


  • Bhavs
    started a topic OnServerClick not taking an argument

    OnServerClick not taking an argument

    HI All,

    I am having a client side code :

    Code:
    <asp:HiddenField ID="hiddenfield1" runat="server" Value='<%# Eval("Id") %>' />
    <a runat="server" id="hlViewPropertyAddressDetail" onserverclick="logstats(hiddenfield1)">
    and in the Code Behind i have a logstats function as
    Code:
    public void logstats(string id)
    {
    ....
    .
    ...
    See more | Go to post

  • Bhavs
    started a topic Convert Floating Point numbers to integer

    Convert Floating Point numbers to integer

    Hi...

    Can anyone help me with the code to convert 4E+07 to 40,000,000 in c#

    Thanks,
    Bh...
    See more | Go to post

  • Bhavs
    replied to Expand and close div's using Javascript
    My Html Code looks like this:

    <a class="yellow" href="javascrip t: show_hide(regio n1Div)">Region1 </a>
    <a class="yellow" href="javascrip t: show_hide(regio n2Div)">Region2 </a>
    <a class="yellow" href="javascrip t: show_hide(regio n3Div)">Region3 </a>

    <div id="region1Div " visible="false"...
    See more | Go to post

    Leave a comment:


  • Bhavs
    started a topic Expand and close div's using Javascript

    Expand and close div's using Javascript

    Hi,

    Help with this code pls...

    I ve a javascript which expands a div onclick.
    Code:
     <script language="javascript" type="text/javascript">
         <!--
            function show_hide(obj) { 
            var el = document.getElementById(obj); 
            if ( el.style.display != 'none' ) { 
            el.style.display = 'none'; 
            } 
            else
    ...
    See more | Go to post

  • Bhavs
    started a topic Open a link in a new Window?
    in XML

    Open a link in a new Window?

    Hi,

    I need to open a link in a new window using xslt.

    With the code I am using, the link opens up in the same page. I want it to be opened in a new browser window.

    I am using

    <a href="http://www.google.com" > to open the link.
    Pls Help
    See more | Go to post

  • Bhavs
    replied to Xslt Help
    in XML
    Thanks... It is working fine now........ :)
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to Xslt Help
    in XML
    Hi..
    ]<xsl:variable name='location' select='transla te("//@locationName", "JERSEY","jerse y")'/>

    For the above, the xsl is taking //@locationName as //@locationName literally.
    I mean its not taking the value of the node :D

    So its translating //@locationName with //@locationname


    Pls give me some ideas to take the value os the node here.
    I tried...
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to Xslt Help
    in XML
    Hi all,

    I am using XSLT 1.0

    So, that might be the reson that str:to-lower is not getting recognised.

    So, now I am trying to use the translate function to do the same.
    But it doesn' seem to be working.

    <xsl:variable name='location' >
    <xsl:value-of select='transla te("//@locationName", "JERSEY","jerse y")'/>
    </xsl:variable>...
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to Xslt Help
    in XML
    Hi Marko,

    NO, I haven't, as I am getting an eror telling that prefix str is not defined.

    Regards,
    Bh...
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to Xslt Help
    in XML
    Hi,

    I am using this namespace

    <xsl:styleshe et version="1.0" xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">

    Do I need to add anything else??

    Thnks..
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to Xslt Help
    in XML
    Hi Marko,
    Thanks for the info.

    Tried with the following code

    <xsl:variable name='location' >
    <xsl:call-template name='str:to-lower'>
    <xsl:with-param name='text' select='//@locationName'/>
    </xsl:call-template>
    </xsl:variable>


    But it says the the prefix 'str' is note defined

    Regards,
    B...
    See more | Go to post

    Leave a comment:


  • Bhavs
    replied to Xslt Help
    in XML
    Hi Mark,

    Thanks for replying.

    No, I dont know how to get value.. Can u pls let me know how to get?...
    See more | Go to post

    Leave a comment:


  • Bhavs
    started a topic Xslt Help
    in XML

    Xslt Help

    How to convert a node value to lowercase???
    I have
    <xsl:when test="//@locationName ='xyz'">

    I have to convert the locationName to lowercase in the xslt page.
    Can I use the toLower function?

    I am new to XSLT, Pls help...
    See more | Go to post
No activity results to display
Show More
Working...