|
Thanks Jason. But, can u tell me how to create a custom window. I need to open one dialog from html page. It need not show the IE image and "Microsoft Internet Explorer" in title Bar. Where can i get the code for that. I mean is there any site to give free source for this issue.
Cheers
Ram
|
|
|
|
|
i just want to use ctrl-c ,ctrl-v to copy & paste data from excel sheet to datagrid in webform. how i can use clipboard in web ?
jagmit
|
|
|
|
|
You can copy and paste to textboxes on the web no problem, your problem is that you are going to have to do it cell by cell...
|
|
|
|
|
hiiiiiii
i have placed a grid control on my webform ,i just want to copy data using ctrl-c from excel and want to put it on my datagrid using ctrl-v .
plz help me code it .
thanx
|
|
|
|
|
hiiiiiii
i have placed a grid control on my webform ,i just want to copy data using ctrl-c from excel and want to put it on my datagrid using ctrl-v .
plz help me code it .
thanx
jagmit
|
|
|
|
|
dear all myfriends out there
i am working automating outlook using javascript
my project writtin in c# for the .net framework 2.0 and the automation is done using javascript
as far as i know about the javascript code is that it run on teh client computer so i put the automation code there to got the outlook contacts of the client visiting the page the code working fine but with a wired behaviour that if one goes to the page he see his outlook contacts but the next one trying to visite the page seeing the first one's contacts !!!! not his own ...although i am clothing the application after quiting the javascript function
...simply i discoverd that i need to restart iis to clean that object created by javascript...
please ... any explaination about this wired behaivour...!!!!
here is mycode:
function getContacts(){
document.getElementById('MyContacts').value="";
var nameSpace;
var contactsFolder;
var itemNode;
var categoryNode;
//OUTLOOK FIELDS MIRROR..
var otlk_Fields = new Array(153);
otlk_Fields[0]="Class";
otlk_Fields[1]="Session";
otlk_Fields[2]="Parent";
otlk_Fields[3]="Actions";
otlk_Fields[4]="Attachments";
otlk_Fields[5]="BillingInformation";
otlk_Fields[6]="Body";
otlk_Fields[7]="Categories";
otlk_Fields[8]="Companies";
otlk_Fields[9]="ConversationIndex";
otlk_Fields[10]="ConversationTopic";
otlk_Fields[11]="CreationTime";
otlk_Fields[12]="EntryID";
otlk_Fields[13]="FormDescription";
otlk_Fields[14]="GetInspector";
otlk_Fields[15]="Importance";
otlk_Fields[16]="LastModificationTime";
otlk_Fields[17]="MessageClass";
otlk_Fields[18]="Mileage";
otlk_Fields[19]="NoAging";
otlk_Fields[20]="OutlookInternalVersion";
otlk_Fields[21]="OutlookVersion";
otlk_Fields[22]="Saved";
otlk_Fields[23]="Sensitivity";
otlk_Fields[24]="Size";
otlk_Fields[25]="Subject";
otlk_Fields[26]="UnRead";
otlk_Fields[27]="UserProperties";
otlk_Fields[28]="Account";
otlk_Fields[29]="Anniversary";
otlk_Fields[30]="AssistantName";
otlk_Fields[31]="AssistantTelephoneNumber";
otlk_Fields[32]="Birthday";
otlk_Fields[33]="Business2TelephoneNumber";
otlk_Fields[34]="BusinessAddress";
otlk_Fields[35]="BusinessAddressCity";
otlk_Fields[36]="BusinessAddressCountry";
otlk_Fields[37]="BusinessAddressPostalCode";
otlk_Fields[38]="BusinessAddressPostOfficeBox";
otlk_Fields[39]="BusinessAddressState";
otlk_Fields[40]="BusinessAddressStreet";
otlk_Fields[41]="BusinessFaxNumber";
otlk_Fields[42]="BusinessHomePage";
otlk_Fields[43]="BusinessTelephoneNumber";
otlk_Fields[44]="CallbackTelephoneNumber";
otlk_Fields[45]="CarTelephoneNumber";
otlk_Fields[46]="Children";
otlk_Fields[47]="CompanyAndFullName";
otlk_Fields[48]="CompanyLastFirstNoSpace";
otlk_Fields[49]="CompanyLastFirstSpaceOnly";
otlk_Fields[50]="CompanyMainTelephoneNumber";
otlk_Fields[51]="CompanyName";
otlk_Fields[52]="ComputerNetworkName";
otlk_Fields[53]="CustomerID" ;
otlk_Fields[54]="Department";
otlk_Fields[55]="Email1Address";
otlk_Fields[56]="Email1AddressType";
otlk_Fields[57]="Email1DisplayName";
otlk_Fields[58]="Email1EntryID";
otlk_Fields[59]="Email2Address";
otlk_Fields[60]="Email2AddressType";
otlk_Fields[61]="Email2DisplayName";
otlk_Fields[62]="Email2EntryID";
otlk_Fields[63]="Email3Address";
otlk_Fields[64]="Email3AddressType";
otlk_Fields[65]="Email3DisplayName";
otlk_Fields[66]="Email3EntryID";
otlk_Fields[67]="FileAs";
otlk_Fields[68]="FirstName";
otlk_Fields[69]="FTPSite";
otlk_Fields[70]="FullName";
otlk_Fields[71]="FullNameAndCompany";
otlk_Fields[72]="Gender";
otlk_Fields[73]="GovernmentIDNumber";
otlk_Fields[74]="Hobby";
otlk_Fields[75]="Home2TelephoneNumber";
otlk_Fields[76]="HomeAddress";
otlk_Fields[77]="HomeAddressCity";
otlk_Fields[78]="HomeAddressCountry";
otlk_Fields[79]="HomeAddressPostalCode";
otlk_Fields[80]="HomeAddressPostOfficeBox";
otlk_Fields[81]="HomeAddressState";
otlk_Fields[82]="HomeAddressStreet";
otlk_Fields[83]="HomeFaxNumber";
otlk_Fields[84]="HomeTelephoneNumber";
otlk_Fields[85]="Initials";
otlk_Fields[86]="InternetFreeBusyAddress";
otlk_Fields[87]="ISDNNumber";
otlk_Fields[88]="JobTitle";
otlk_Fields[89]="Journal";
otlk_Fields[90]="Language";
otlk_Fields[91]="LastFirstAndSuffix";
otlk_Fields[92]="LastFirstNoSpace";
otlk_Fields[93]="LastFirstNoSpaceCompany";
otlk_Fields[94]="LastFirstSpaceOnly";
otlk_Fields[95]="LastFirstSpaceOnlyCompany";
otlk_Fields[96]="LastName";
otlk_Fields[97]="LastNameAndFirstName";
otlk_Fields[98]="MailingAddress";
otlk_Fields[99]="MailingAddressCity";
otlk_Fields[100]="MailingAddressCountry";
otlk_Fields[101]="MailingAddressPostalCode";
otlk_Fields[102]="MailingAddressPostOfficeBox";
otlk_Fields[103]="MailingAddressState";
otlk_Fields[104]="MailingAddressStreet";
otlk_Fields[105]="ManagerName";
otlk_Fields[106]="MiddleName";
otlk_Fields[107]="MobileTelephoneNumber";
otlk_Fields[108]="NetMeetingAlias";
otlk_Fields[109]="NetMeetingServer";
otlk_Fields[110]="NickName";
otlk_Fields[111]="OfficeLocation";
otlk_Fields[112]="OrganizationalIDNumber";
otlk_Fields[113]="OtherAddress";
otlk_Fields[114]="OtherAddressCity";
otlk_Fields[115]="OtherAddressCountry";
otlk_Fields[116]="OtherAddressPostalCode";
otlk_Fields[117]="OtherAddressPostOfficeBox";
otlk_Fields[118]="OtherAddressState";
otlk_Fields[119]="OtherAddressStreet";
otlk_Fields[120]="OtherFaxNumber";
otlk_Fields[121]="OtherTelephoneNumber";
otlk_Fields[122]="PagerNumber";
otlk_Fields[123]="PersonalHomePage";
otlk_Fields[124]="PrimaryTelephoneNumber";
otlk_Fields[125]="Profession";
otlk_Fields[126]="RadioTelephoneNumber";
otlk_Fields[127]="ReferredBy";
otlk_Fields[128]="SelectedMailingAddress";
otlk_Fields[129]="Spouse";
otlk_Fields[130]="Suffix";
otlk_Fields[131]="TelexNumber";
otlk_Fields[132]="Title";
otlk_Fields[133]="TTYTDDTelephoneNumber";
otlk_Fields[134]="User1";
otlk_Fields[135]="User2";
otlk_Fields[136]="User3";
otlk_Fields[137]="User4";
otlk_Fields[138]="UserCertificate";
otlk_Fields[139]="WebPage";
otlk_Fields[140]="YomiCompanyName";
otlk_Fields[141]="YomiFirstName";
otlk_Fields[142]="YomiLastName";
otlk_Fields[143]="Links";
otlk_Fields[144]="ItemProperties";
otlk_Fields[145]="LastFirstNoSpaceAndSuffix";
otlk_Fields[146]="DownloadState";
otlk_Fields[147]="IMAddress";
otlk_Fields[148]="MarkForDownload";
otlk_Fields[149]="IsConflict";
otlk_Fields[150]="AutoResolvedWinner";
otlk_Fields[151]="Conflicts";
otlk_Fields[152]="HasPicture";
//xml initialization
var xmlDocument = new ActiveXObject('Microsoft.XMLDOM');
var root = xmlDocument.createElement('olkContacts');
xmlDocument.documentElement = root;
//set the main contacts category in document
categoryNode =xmlDocument.createElement('olkCategory');
categoryNode.setAttribute('Name','Contacts');
root.appendChild(categoryNode);
//create outlook instance
var outlookApp = new ActiveXObject('Outlook.Application','<%=Request.ServerVariables["remote_addr"].ToString()%>');
nameSpace = outlookApp.getNameSpace("MAPI");
nameSpace.Logon("","", false, false);
//getContacts
contactsFolder = nameSpace.GetDefaultFolder(10);
var items = contactsFolder.items.restrict('[MessageClass] = "IPM.Contact"');
for(var itemsCount=1;itemsCount<=items.count;itemsCount++){
itemNode =xmlDocument.createElement('olkContact');
for(var fm=1;fm<otlk_Fields.length;fm++){
var pName = "otlk_Fields[" + fm + "]";
try{
itemNode.setAttribute(otlk_Fields[fm],items(itemsCount)[evalpName)]);
categoryNode.appendChild(itemNode);
}
catch(e)
{
}
}
}
// categories
var folders = contactsFolder.folders;
for(var folderscount=1;folderscount<=folders.count;folderscount++){
//set the current category in document
categoryNode =xmlDocument.createElement('olkCategory');
categoryNode.setAttribute('Name',folders(folderscount).Name);
root.appendChild(categoryNode);
// get contact content for category
for(var foldersItemsCount=1;foldersItemsCount<=contactsFolder.folders(folderscount).items.count;foldersItemsCount++){
var subitems = contactsFolder.folders(folderscount).items.restrict('[MessageClass] = "IPM.Contact"');
itemNode =xmlDocument.createElement('olkContact');
for(var sfm=1;sfm var pSName = "otlk_Fields[" + sfm + "]";
try{
itemNode.setAttribute(otlk_Fields[sfm],subitems(foldersItemsCount)[eval(pSName)]);
categoryNode.appendChild(itemNode);
}
catch(e){
}
}
}
}
//make request not dangrous and set hidden field for server action
document.getElementById('MyContacts').value= xmlDocument.xml.replace(/(<)/g,"<").replace(/(>)/g,'>');
outlookApp.application.quit();
outlookApp.quit();
outlookApp=null;
}
A.Farouk
|
|
|
|
|
My application exports data in HTML. I would like to include a header with a logo (gif). I don't want any references to external image files. I want the image to be fully contained within the HTML file. Is this possible?
LA
|
|
|
|
|
|
There is. Read more about Data URIs. IE does not support them, though
|
|
|
|
|
I am having terrible troubles at work trying to insert a parameter from a FORM into the Datagrid SELECT statement in ASP. I have searched MSDN knowledgebase, read and used examples, and am still having troubles.
Some details: I'm using the drag and drop method of inserting data from Visual Studio 2005 Database Connections from the table. I am using SQL Server 2005 and Visual Studio 2005 with .NET 2.0. I can get the data to display in the datagrids STATICALLY, but I need them to display dynamically using a parameter passed from the FORM control.
Some example code:
http://www.campus.ncl.ac.uk/databases/dotnet/aspdotnet2.html[^]
The only thing I need is for the code to have a FORM to enter a string or data and a datagrid that uses that parameter from the FORM inserted in the SELECT statement of the datagrid.
-Jesse Myer
|
|
|
|
|
I have a web cam that uploads jpg images that my page displays (the page reloads every few seconds to show the newest image. The page code I use is a slightly modified version of what came with the web cam. I turn the camera off at times and would like to have an animated gif file displayed at those times instead of the last jpg uploaded. I figure I'll write a small program will shutdown the camera software and delete the jpg from the web site.
I need the page to show the jpg if it exists and if not show the gif. This is on Road Runner's personal web sites so I can't do anything too fancy like server side scripting. But I can put a client side java script in it. If anyone can someone tell me how to do this or point me to some examples I would appreciate it.
Perhaps a if else construct I could put in the html? If 01.jpg exists then this html code else some other html code.
Thanks,
JABOSL
|
|
|
|
|
How do websites that have the 'enter your zip code to find the nearest distributor.....' work? I'm drawing some blanks on what to search for. Was asked how hard it would be to implement something like that.
Any general information would be greatly appreciated. Thanks for the help.
|
|
|
|
|
I'm not sure exactly, but it might be something like calling a web service (or paying for some kind of GIS database) to get the approximate map co-ordinates for the zip code and then comparing that with a list of the map co-ords for their distribution points.
Essentially not difficult, but may require payment for some kind of reliable GIS service.
|
|
|
|
|
whenever over the mouse on the See All 34 Product Categories tab then a popup comes and when we move the
mouse from there the popup disappear with a special effect.so i want to know what is the logic of that
special effect.so pls give me the code of that kind of popup with special effect if u have already or tell
me a url from where we can get the source code like that.
tbhattacharjee
|
|
|
|
|
here's a URL for ya - www.google.com
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
a**hole i can't thanx u becoz i never hard about google.when u dont know the answer then a**hole dont try to be very smart ok.
tbhattacharjee
|
|
|
|
|
There three seperate div tags in my HTML page.
Each div tag contains one flash object.
Using each flash object i am loading 3 different charts(Bar,line,colum)
And there are 3 image buttons to switch between charts.
When first Button is clicked "My Bar chart" will be loaded and iam hiding other two.
Similary if the second button is clicked the the "My Line Chart " is loaded and so on.
Input to my chart is an XML.
<set value="30.632803460417832" link="JavaScript:move(2);">
Using the above format javascript function move(2) is called.
It will refresh the chart with another set of data.
If view is switched between the Line Chart and the bar Chart, the chart was loading but my javascript function was not activated.
|
|
|
|
|
There is a part of a web-text:
<asp:Table ID="Table1" runat="server" Height="112px" Width="639px" Visible="False">
<asp:TableRow runat="server" HorizontalAlign="Center">
<asp:TableCell runat="server"><asp:Label ID="LabelRecordNumber01" runat="server" Text="Запись №" Width="78px"></asp:Label>
<asp:TextBox ID="TextBoxRecordNumber01" runat="server" ReadOnly="True" Width="50px"></asp:TextBox>
</asp:TableCell>
<asp:TableCell runat="server">
<asp:Label ID="Label19" runat="server" Text="от 2006/08/13" Width="177px"></asp:Label>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow runat="server" HorizontalAlign="Center">
<asp:TableCell runat="server" BorderColor="Turquoise" BorderStyle="Solid" Width="180px">
<asp:Label ID="Label4" runat="server" Text="John Ponton" Width="172px" Font-Size="Large"></asp:Label><br />
<asp:Label ID="Label9" runat="server" Text="John@gmail.com" Width="172px"></asp:Label>
</asp:TableCell>
<asp:TableCell runat="server" Width="440px">
<textarea cols="1" rows="1" readonly="readonly" id="TextareaMessage01" style="width: 436px; height: 129px"></textarea><br />
<asp:Label ID="Label14" runat="server" Text="Ответ от 2006/08/12" Width="151px"></asp:Label><br />
<textarea cols="1" rows="1" readonly="readonly" id="TextareaAnswer01" style="width: 436px; height: 99px"></textarea>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
I need in my program to assign text value to the TextareaMessage01. I'd like to do:
TextareaMessage01.Text= "Birds are flying";
but VS-2005 doesn't understand this way.
I guess, the answer is around like this:
Table1.Rows[0].Cells[0] ... ???
but what - I do not know. Help, please!
-- modified at 13:51 Tuesday 8th August, 2006
HilSoft
|
|
|
|
|
Use an <asp:textbox> element rather than a HTML TextArea
led mike
|
|
|
|
|
You need to set the runat="server" property in the element so that a server control is created for it. Otherwise the html code for the element is just treated as plain text by the server.
---
b { font-weight: normal; }
|
|
|
|
|
Hi!
I need to do something in Javascript/DHTML wich i dont know if it's possible at all. I'd like to click on an image, and get the (x,y) point (on the image) that i clicked on.
Is this possible?
Thank you in advance for any help!
Ricardo
|
|
|
|
|
Hook up an onmousedown handler, which looks at event.clientX / event.clientY
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
hey..u can do it simply...
using AJAX -Jaavascript..there are coordinates like OFFsetX..and something like that...go to the w3schools.com for javascript functions..u can do it..i hav done bfore..
Rameez Mohammed
India
|
|
|
|
|
I have a web application in ASp . I want to display barcode at client browser without installing barcode font at client side.
Pls Reply
Thanks in Advance
Urgent
|
|
|
|
|
meetbinu2003 wrote: without installing barcode font at client side.
How about an image (jpg, gif, ...)
led mike
|
|
|
|