|
Why dont you call resizeChildren yourself then after RadGrid increases thee no of rows. Just call the function yourself when you receive the callback from the server rather than depending on Browser resize.
|
|
|
|
|
Hello
Does anybody know how to programmatically add text message,the period the status will be out of office in out-of-office auto-responder in Outlook 2007?
I am able to change the status but not able to add text message.
Thanks in advance......
|
|
|
|
|
Manprit.bagga wrote: Does anybody know how to programmatically add text message,the period the status will be out of office in out-of-office auto-responder in Outlook 2007?
Manprit.bagga wrote: I am able to change the status but not able to add text message.
How are you doing this using ASP.NET ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Currently the code i am working on is for window based ,I will be putting the code in javascript file and with the help of active-x i will be using in asp.net project.
Currently with this code i am able to change the status of out of office ,now i am looking for whether we can change the text message and can add rule.
bool OOFState;
string message;
Microsoft.Office.Interop.Outlook.ApplicationClass app = new
Microsoft.Office.Interop.Outlook.ApplicationClass();
Microsoft.Office.Interop.Outlook.NameSpaceClass ns =
(Microsoft.Office.Interop.Outlook.NameSpaceClass)app.GetNamespace("MAPI");
Microsoft.Office.Interop.Outlook.Recipient recipient = ns.CreateRecipient("Manprit");
Microsoft.Office.Interop.Outlook.MAPIFolder Inbox = ns.GetSharedDefaultFolder(recipient, Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);
Microsoft.Office.Interop.Outlook.PropertyAccessor pa = Inbox.PropertyAccessor;
foreach (Microsoft.Office.Interop.Outlook.Store store in ns.Stores)
{
if (store.ExchangeStoreType == Microsoft.Office.Interop.Outlook.OlExchangeStoreType.olPrimaryExchangeMailbox)
store.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x661D000B", true);
}
}
}
|
|
|
|
|
Did you ever get a response or find out an answer to this? I'm actually trying to do the exact same thing and am having difficulty finding a solution anywhere.
Dave
|
|
|
|
|
hi,
to All..
i want to create chat application in asp.net, please suggest me how can i start. give me reference URL also.
Amit
i like to play with programming....
|
|
|
|
|
See this :
Simple Chat Application in ASP.NET[^]
Actually the concept is each client will update the server using AJAX, so that once server is updated, the other person gets notified.
|
|
|
|
|
am.net wrote: i want to create chat application in asp.net, please suggest me how can i start. give me reference URL also.
ASP.NET Chat Application[^]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class _Default : System.Web.UI.Page
{
System.IO.DirectoryInfo ourDir;
System.Collections.ArrayList arraylist = new System.Collections.ArrayList();
static int i=0;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Browse_Click(object sender, EventArgs e)
{
}
protected void Load_Click(object sender, EventArgs e)
{
ourDir = new System.IO.DirectoryInfo("F:\\.Net Samples\\EnumerateFiles and Folders\\Farewell Party");
foreach (System.IO.FileInfo filename in ourDir.GetFiles())
{
//if(filename.Name.Equals(".JPG"))
arraylist.Add(filename.Name);
}
Image1.ImageUrl = "~/Farewell Party/" + arraylist[i];
}
}
when i am getting out of the Load_Click the scope of ArrayList is lost and its count becoming 0... so that i cant use in other functions.... I was debugging lot of time still the same problm persists can any body tell me the answer for it....
|
|
|
|
|
you should buy a basic ASP.NET book and read it, so you have an understanding of the framework you are using.
The answer to your specific question is, each postback causes a new instance of the page class to be created, and it exists only for that postback. That is why things like viewstate and the session exist ( again, look into that book )
Pardhu2 wrote: ourDir = new System.IO.DirectoryInfo("F:\\.Net Samples\\EnumerateFiles and Folders\\Farewell Party");
Also, once you deploy your app, it won't be able to see above the root of your website. Again, refer to that book.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Respected,
Can I Insert GridView multiple Records on one click.
Thanks
|
|
|
|
|
Yes.
1. To insert records in gridview: Update its datasource and rebind.
2. To insert gridview records in database: get the records to insert and use ADO.Net to perform the insert.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
hello,
how to add column to grid view for sl.no's. that field is not in database. it should count each row .
|
|
|
|
|
you can use RowNumber() while returning dataset from SQL.
|
|
|
|
|
hi
How will we send contents of a gridview in an email message body
Thanks
|
|
|
|
|
Convert the Gridview to string..
Dim stringWrite As New System.IO.StringWriter
Dim htmlWrite As New HtmlTextWriter(stringWrite)
GridView.RenderControl(htmlWrite)
Dim Body as string=htmlWrite.tostring
Pinna
|
|
|
|
|
I dont think this will allow. It will through an error
|
|
|
|
|
|
|
Hai friend's
i created one web appliction with visual studio2005 , while i ran that page with internet Explorer it show's the same design which i created , then i tried the application with some other browsers like mozilla , opera and google chrome, it not showed the correct design what i did , i mean the picture went one side and the table went one side , i am just a beginner so help me out how to create the web application that should suitable for all the browsers....
thank you...
|
|
|
|
|
|
The major and most important thing that you need to look into CSS and javaScript for supporting the multiple browser. Never Drag and Drop controls in ASP.NET pages at Visual Studio IDE Design view. Always use code view for proper design with Table and Div. Please go through the link that other person suggested.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi,
I am working on Gridview. For this gridview I am binding data from database normally using datasouce and Data binding. Bow after adding all these column I need to add textboxes at the end each row dynamically.
If anyone have any idea to solve this please reply me.
Thanks in advance
|
|
|
|
|
|
Try this in RowDataBound method ,
|
|
|
|