User Profile

Collapse

Profile Sidebar

Collapse
sangam56
sangam56
Last Activity: Dec 29 '09, 09:55 AM
Joined: Nov 22 '07
Location: Kathmandu, Nepal
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • XML to Excel XSLT file: Reference style class file from outside

    Hi all.
    I have successfully written xsl code to transform xml to excel file. I have also used css styles for excel using <ss:Styles>.. .</ss:Styles> inline in the xsl file.

    My requirement is write the css styles in separate file and use it with the excel file. Apparently two approaches:

    1. Inject style code in generated xls [in fact I generate xml file which I can open in ms excel] file.
    ...
    See more | Go to post

  • Hi,
    I have used jquery highlighter. It is highlighting the words in the aspx page. But I am unable to highlight the search words within the html files embedded in the aspx page.

    We can embed an html file into an aspx page in various ways, using Response.WriteF ile or Server.Transfer or using iframe also. In all these methods, I have been unable to highlight the words in the html file. Any idea please? Thank you.
    See more | Go to post

    Leave a comment:


  • sangam56
    started a topic Highlight search text in iframe in asp.net

    Highlight search text in iframe in asp.net

    Hi all.
    I have an iframe in an asp.net web page (Display.aspx).

    Code:
    <iframe id="iframe1" runat="server" src="temp/test.html"></iframe>
    Now I need to highlight a search text, say 'test' in the Display.aspx page. The source of iframe is dynamically assigned and search text is also changeable. This means I am dealing with dynamic search text and html page. Please suggest me how...
    See more | Go to post

  • sangam56
    replied to displaying a popup window in asp.net
    Hi btreddy,
    You would like some kind of windows forms like messagebox in asp.net web page. This could help you implement a messagebox function which you can raise anytime during server processing.

    Hope this helps. Please feel free to ask if the problem persists of if any futher help is required. Thanks. Happy Programming!
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to Button in Gridview
    Hi pbla and tlhintoq,
    You could use a hyperlink and bind the email address to it so that clicking the link will open your desktop's default mail software. You can easily mailto:format gridview hyperlink to send email.

    Hope this helps. Please feel free to ask if the problem persists or if any futher help is required. Thanks. Happy Programming!
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to GridView EmptyDataTemplate Disabling
    Hi BiffMaGriff,
    The problem you are facing is due to the default behaviour of the asp.net gridview control. By default, if no data is present, it hides header and footer. And you are left to use the EmptyDataTemppa te to message that no data is present [somewhat a relief]. But very often you need to display the header and footer. See, Display asp.net gridview header and footer when no data is present. Hope this solves your problem. Thanks.
    See more | Go to post

    Leave a comment:


  • Hi Vinod,
    As you have said, to move items from one listbox to another, you can utilize the same concept which is used when moving items on button clicked. You just need to execute the codes on SelectedIndexCh anged event of the source listbox. Here in Moving Items from one listbox to another in asp.net web page using C#, you can see the code.

    Hope this helps. Thanks.
    See more | Go to post

    Leave a comment:


  • Customize WebMailLite (web mail software) to include mail search

    Hi developers!
    I have been using webmail lite webmail software from afterlogic.com for some time. I had a query in this forum: Is There Any Free ASP.NET 2.0 WebMail System? some time ago.

    Now I have customized the webmail lite to include signature. In fact this is supported only in webmail pro. Also, mail search is not available in webmail lite. Has anyone done this before? I am a need of doing this. But I am quite clueless. I...
    See more | Go to post

  • Hi,
    Thanks all for the answers.
    I changed appendSignature () to appendSignature only, and it worked!

    Further, with addEvent, I do use "onclick", whereas with addEventListene r, I do use "click" only.

    Thanks again!
    See more | Go to post

    Leave a comment:


  • How to add addEventListene r in .js file with function in .aspx page?

    Hi,
    Thanks for the reply. I tried to use this function in my js file this way:

    div.addEventLis tener=addEvent( div,"click","ap pendSignature() ");

    I suppose "appendSignatur e()" as a function in my .aspx page.

    Here comes an error:

    ...Could not convert JavaScript argument......
    See more | Go to post

    Leave a comment:


  • How to add addEventListener in .js file with function in .aspx page?

    Hi all,
    I want to add listener to a div element from .js file. All the controls are being created in the .js file and then loaded in the .aspx page. The problem is that I cannot use jquery or prototype to add observe event to the div control from my .aspx page. [This is due to the nature of the solution itself. Any such attempt leads to error].

    All I want is: the function defined in the .js file in the div's addEventListene r...
    See more | Go to post

  • Good tips. We could expect the tips specific for programmers who do the real coding. Must be little but basically different from that of designers, project managers or QA. Isn't it logical?
    See more | Go to post

    Leave a comment:


  • sangam56
    started a poll Is There Any Free ASP.NET 2.0 WebMail System?

    Is There Any Free ASP.NET 2.0 WebMail System?

    0
    Yeah, webmail from [url]www.afterlogic.com[/url]
    0%
    0
    Yeah, SharpWebMail from [url]http://anmar.eu.org[/url]
    0%
    0
    Yeah, Another third party solution (Please specify in your reply to this post)
    0%
    0
    Sorry, You have to write your own
    0%
    0
    Hi all,
    I have come accross the requirement that I need to integrate one webmail system in an existing asp.net web application. I searched a lot in the Internet. I basically got two products: one SharpWebMail and another AfterLogic's WebMailLite. The previous one has lots of trouble with it, and even very old type of interface. And in fact very few features also. The latter one is also the free one, and so it has only inbox (no trash,sent...
    See more | Go to post

  • sangam56
    replied to website keeps asking for login
    Hi 200dogz,
    Please try to debug the application and exactly watch what is happening inside it. Or you could post the code in the page that is facing this problem. Thanks.
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to DropDownList in DetailsView
    Hi , Vineetbandal,
    You are right in the position. Go straight ahead. If you have edititemtemplat e and you place dropdownlists there they will sure show in the edit mode. Only thing you need is populate your dropdownlist. This can be done in the design time or programmaticall y later. Cheers.
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to Deleting a file
    Hi semomaniz, you said full access has been given to the in IIS for IO purpose. I suggest to add group Everyone in the security following the way as suggested by DeepBlue.

    Hope this helps. Thanks.
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to Hashtable binding with detailsview.
    Please follow up if no progress. Thanks.
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to Hashtable binding with detailsview.
    Hi Vineetbandal,
    I suspect null reference exception is being thrown while finding the labels in edit mode.I suggest to put the edit mode specific code in the particular section in the databound event hander of the detailsview, like this:

    Code:
     
     
    //Databound event handler for the detailsview
    protected void DetailsView1_DataBound(object sender, EventArgs e)
    {
    if (DetailsView1.CurrentMode == DetailsViewMode.Insert)
    ...
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to confused with connections in asp.net
    Now perhaps it is my turn to be confused! It seems you have some different requirement. I hope this link provides you much guidance.

    http://www.connectionstrings.com/sql-server-2005

    Hope you find the right connection string here. Thank you....
    See more | Go to post

    Leave a comment:


  • sangam56
    replied to confused with connections in asp.net
    You can just use Integrated Security=true in the connection string if you are going to use Windows Authentication mode.

    Code:
     
    <!-- Connection strings-->
    <connectionStrings>
    <remove name="MyConnectionString"></remove>
    <add name="MyConnectionString" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=MyDB;Integrated Security=true;pooling=false" providerName="System.Data.SqlClient"/>
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...