Feeds:
Posts
Comments

Archive for August, 2008

Some times we are opening pages in new window by using javascript when we click on links. in this case some times we have to get the data(values) from parent window. this is posible by javascript.
parent window code
<html xmlns=”http://www.w3.org/1999/xhtml” >
<head runat=”server”>
    <title>Untitled Page</title>
    <script type=”text/javascript” language=”javascript”>
    function openWindow()
    {
        window.open(‘child.aspx’,’Preview’,’scrollbars=yes,toolbar=no,width=50,height=50,top=40,left=40′);
    }   
    </script>
</head>
<body>
    <form id=”form1″ runat=”server”>
    [...]

Read Full Post »

we can add items to ultraweblist directly if items are static is as follows.
<iglbar:UltraWebListbar ID=”UltraWebListbar1″ runat=”server” BorderWidth=”4px” Height=”350px”
      ViewType=”ExplorerBar” Width=”236px” BarWidth=”100%” BorderStyle=”None” GroupSpacing=”5px”
      ItemIconStyle=”SmallWithInsetText” MergeStyles=”True” HeaderClickAction=”ExpandOnClick”>
      <Groups>
      <iglbar:Group Text=”&amp;nbsp;Module1″ TextAlign=”Left”>
      <Labels Collapsed=”” Expanded=”” Selected=”” />
      <Items>
      <iglbar:Item Text=”<img src=’images/image1.gif’ alt=” height=’22px’ width=’22px’ /> Sub Module 1″ TargetUrl=”page1.aspx”>
      <Labels Selected=”” />
      </iglbar:Item>
      <iglbar:Item Text=”<img src=’images/image2.gif’ alt=” [...]

Read Full Post »

Hi in this post i am telling how to send a mail without using smtp server. this is possible in web application i didn,t check in windows. By using System.web.Mail namespace it is possible
code in VB.Net
Imports System.Web.Mail
Public Shared Function SendEmail(ByVal FromAddress As String, ByVal ToAddress As String, ByVal CCAddress, ByVal BccAddress, ByVal EmailSubject As String, [...]

Read Full Post »

This is to get the gridview values of your page in to microsoft excel. Recently i tried this. we can export values from gridview or DataList or any DataRenderControl. For this code is as follows..
first in aspx page put a gridview and a button to export to excel and in page load bind data to [...]

Read Full Post »