Request Read Receipt for an Individual Message

1 Comment


Request a read receipt for an important message sent in Outlook Express

Topic : Outlook

When sending an important message in Outlook Express in Windows XP, you can request a read receipt for said message. This way you can help ensure your e-mail reached its destination and was read, even if it has not been responded to yet.

To request a receipt

1) When composing an e-mail message in OUTLOOK . Click “New Mail Message“.
2) In the new window opened click “options”  which is having a dropdown arrow.
3) In that again you click options.You will see a Modal Dialog box named “Message Options” there you select
Request a read receipt for this message“.

step-1

step-2


How to invoke a user defined event in the controls of Gridview

Leave a comment


How to invoke a user defined event in the controls of Gridview
=============================

1) In aspx Take a gridview having one of the template fields i.e Item Template as LinkButton

<asp:TemplateField HeaderText=”Folio No”>
<EditItemTemplate>
<asp:TextBox ID=”TextBox1″ runat=”server” Text='<%# Bind(“Folio_no”) %>’></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:LinkButton ID=”Label2″ runat=”server” Text='<%# Bind(“Folio_no”) %>’ OnClick=”click” ></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>

2) In Code-behind Page:

protected void click(object sender, EventArgs e)
{
LinkButton lb = (LinkButton)sender;
GridViewRow gvr = (GridViewRow)lb.Parent.Parent;

LinkButton lnk_fno = (LinkButton)gvr.FindControl(“Label2”);
}

How to Print a Gridview in ASP.NET 2.0

3 Comments


“””””””””””””””””””””””””””””””

<script language=”javascript” type=”text/javascript”>
function getconfirm()
{
return confirm(‘Are you sure you want to change the Folio No?’);
}
function Button1_onclick() {
//open new window set the height and width =0,set windows position at bottom
var a = window.open (”,”, ‘ left = ‘ + screen.width + ‘,top=’ + screen.height + ‘,width=0,height=0,toolbar=0,scrollbars=0,status=0’);
//write gridview data into newly open window

//major change here get innerHTML Of the Div

a.document.write(document.getElementById(‘innerData’).innerHTML);
a.document.close();
a.focus();
//call print
a.print();
a.close();
return false;
}

function IMG1_onclick() {
return Button1_onclick()
}

</script>

“””””””””””””””””””””””””””””””

Here the gridview must be placed in a DIV Tag
===================================

<div id=”innerHTML”>

Place Gridview Control here

</div>

<asp:ImageButton ID=”ImageButton1″ ImageUrl=”~/images/Printer-512×512.png” Width=30 Height=30 runat=”server” OnClientClick=”return Button1_onclick()” />

Dropdownlist in gridview

Leave a comment


Hi All,

The situation is Dropdownlist in Gridview.

While displaying the summary or reports we will use a Label for a particular column.
But in edit mode it must open in dropdownlist with selected Values as in the previous static mode.

I will explain clearly:

There is a table in database Months_TBL.
which contains 12 months.

1) First we must bind this with a datasource.
2) Attach this datasource to dropdown list.In the dropdownlist the query will be look like this
Select mid,month_name from Months_TBL.
3)Take a Template field for months which looks like this:

<asp:DropDownList CssClass=”textb” ID=”ddl1″ runat=”server” DataSourceID=”SqlDataSource1″ DataTextField=”month_name” DataValueField=”mid” AppendDataBoundItems=true selectedvalue=” >

<asp:Label ID=”Label1″ runat=”server” Text=”>

4) So While displaying if it shows February while we click edit the dropdown list will come as selected value as “February”.

Is it nice.

But carefully see that we have used “selectedvalue” property.

Presentation on Software as a Service on 12 Feb 09 By me.

Leave a comment


%d bloggers like this: