|
|
Ah, you forgot. Google in India doen't return the results that it does in the rest of the world, hence so many questions on here
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
You should place a FileUpload control on your form. Whenever you place it, it will automatically assign all the essential values to form object. Make sure that you should have one button as (Submit) form.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
you missed the bit where the OP said they were using ASP (Classic) with VBScript
|
|
|
|
|
While passing parameter using reportparameter in RDLC local report i am getting error like,"An error occurred during local report processing."? what is this error .
While passing parameter using reportparameter in RDLC Server report i am getting error like,"The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version."
how can i pass parameter without any error?
or is there any other way to pass parameter to RDLC report?
modified on Wednesday, October 1, 2008 1:56 AM
|
|
|
|
|
I have a parameter field with the option of Allow Multiple Values
but if i select three number of data it is showing only the first row of data in my report.
example :
first row : 54 nethaji st,
second row: st thomas mount,
third row : chennai.
Can anybody give me the solution?
|
|
|
|
|
Hi All,
I used to be able to put an excel document into an IFRAME and let users view the document over our intranet this does not work in Vista with IE 7, I have thought about using an activex with excel on it and then loading the excel document on the control, just wanting to know if any of you have ever done something similar, dont want to build an activex if I can get away with another option, all I want is the user to load a webpage with an Iframe on it and display an excel document in read only on the users webpage, it must open in IE7 on vista and XP, this may swound simple but its not from what I have read, all my users have excel installed.
|
|
|
|
|
Hello friends, I am usign sql server reporting services 2005 . I have configured report server on my local machine..and created some reports. Now i want to upload it to the host machine...Is it necessary to configure a report server on host machine? If yes, then how to do that...Offcourse I dont have administrator rights for that..Any solution..
Thanks...
Amit
|
|
|
|
|
are you using RDLC reports?
|
|
|
|
|
While passing parameter using reportparameter in RDLC local report i am getting error like,"An error occurred during local report processing."? what is this error .
While passing parameter using reportparameter in RDLC Server report i am getting error like,"The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version."
how can i pass parameter without any error?
or is there any other way to pass parameter to RDLC report?
modified on Wednesday, October 1, 2008 1:56 AM
|
|
|
|
|
how to get on paste event for a iframe as like the paste event for the textbox
|
|
|
|
|
Hi all,
I have a requirement of exporting image to MS Word, PowerPoint and PDF.
please suggest me how to do that.
Thanks in advance.
cheers,
sekhar
|
|
|
|
|
First, don't cross post, you will not get any better answer.
sekhar.k wrote: I have a requirement of exporting image to MS Word, PowerPoint and PDF.
There is no such thing as export an image to MS Word, PowerPoint and PDF. Do you want to embed an image in a word document, powerpoint slide or what?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Sorry for Cross Posting.
I have to export uploaded image to PowerPoint, PDF and MS Word.
i.e.,
I saving uploaded images into folder(imageFolder). These images i have to upload into PowerPoint , PDF and MS Word.
|
|
|
|
|
So you need a 3rd party control for PDF and the Office api's for word and powerpoint.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hi,
i m completely new to ASP.Net programming.
i have created two pages using Visual Stuido and want to configure them for differnt browsers. as the page works well in IE 6.0 and less but fails for mozarilla and others sites. can sone provide me the idea on how to solve this .. a google link could also help me out.
i m working on .net framework2.0
|
|
|
|
|
Dear sailesh
you r facing browser incompability problem.
I means your html which you have written is not wel form so it will not work in other browser.
My advice is to go to w3c standered html format which will ensure you page will work on every browser.
Hope this help
|
|
|
|
|
hi ,
i have not done any html coding. i have created this web pages using Visual studio2005. i have two web pages.First web page is having logo and login box .. second page links to various reports. i have used standard controls from the toolbox.
|
|
|
|
|
Hey guys i am hoping you guys can help, i have been working on this project with i thought would be very simple, but anyways here is what i got. I have a listbox, text box, add and remove buttons. I type in the text box click add and then the item adds to the list box and then gets save to a text file, what i can't figure out is how to remove the items from the list box. i have done this several times in a windows application but i can't seem to get it to work in a asp.net web app. When i comment out the page load procedure i am then able to remove items from the list box.
here is the code that i have:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
namespace WMS_WebConfig
{
public partial class _Default : System.Web.UI.Page
{
private StreamWriter writer;
private StreamReader reader;
int index;
protected void Page_Load(object sender, EventArgs e)
{
monitoredSitesLB.Items.Clear();
if (!Directory.Exists("C:\\Program Files\\Virasec, LLC\\WMS"))
{
Directory.CreateDirectory("C:\\Program Files\\Virasec, LLC\\WMS");
}
if (!File.Exists("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt"))
{
writer = new StreamWriter("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt", true);
writer.Close();
}
reader = new StreamReader("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt");
string line;
while ((line = reader.ReadLine()) != null)
{
monitoredSitesLB.Items.Add(line);
}
index = monitoredSitesLB.SelectedIndex;
reader.Close();
}
protected void addBtn_Click(object sender, EventArgs e)
{
ListItem item = new ListItem(urlTxtBox.Text);
if (monitoredSitesLB.Items.Contains(item))
{
statusLbl.Text = "The website you entered is currently being monitored. " +
"Please enter another site to monitor.";
}
else
{
if (urlTxtBox.Text.Contains("http://"))
{
monitoredSitesLB.Items.Add(urlTxtBox.Text);
writer = new StreamWriter
("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt", false);
if (File.Exists("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt"))
{
foreach (object li in monitoredSitesLB.Items)
{
writer.WriteLine(li.ToString());
}
writer.Close();
}
}
else
{
urlTxtBox.Text = "http://" + urlTxtBox.Text;
item = new ListItem(urlTxtBox.Text);
if (monitoredSitesLB.Items.Contains(item))
{
statusLbl.Text = "The website you entered is currently being monitored. " +
"Please enter another site to monitor.";
}
else
{
monitoredSitesLB.Items.Add(urlTxtBox.Text);
writer = new StreamWriter
("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt", false);
if (File.Exists("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt"))
{
foreach (object li in monitoredSitesLB.Items)
{
writer.WriteLine(li.ToString());
}
writer.Close();
}
}
}
}
}
protected void remBtn_Click(object sender, EventArgs e)
{
index = monitoredSitesLB.SelectedIndex;
monitoredSitesLB.Items.RemoveAt(index);
writer = new StreamWriter
("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt", false);
if (File.Exists("C:\\Program Files\\Virasec, LLC\\WMS\\monitoredsites.txt"))
{
foreach (object li in monitoredSitesLB.Items)
{
writer.WriteLine(li.ToString());
}
writer.Close();
}
}
protected void monitoredSitesLB_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
|
|
|
|
|
Just wanted to add, Thanks in advance to anyone who may have suggestions
Travis Combs
|
|
|
|
|
You haven't understood the life-cycle of an asp.net page. Every time you click either button a postback occurs and the page is re-loaded, thus re-setting your "index" variable. You should include a
if (!Page.IsPostBack) {...}
block surrounding your Page_Load event code to prevent this happening. The listbox will be populated by the page's ViewState instead and the selected item's index preserved. Google it.
|
|
|
|
|
Web apps are different from win apps
I got confused too when moved from win to web
In the page load, you need to include all that code inside a page.ispostback condition so it will only execute the first time and not when you are adding or removing items
if (!page.ispostback)
{
}
Alexei Rodriguez
|
|
|
|
|
Hi All
I'm currently involved in the design of a college project for this new web based based tool in asp.net that shows and runs processes (defined as flow charts currently). Ideally we'd like to store the steps/processes in form of some XMLs and have a rules engine process the same, and display them as UI elements to guide the user through each step. Are there any existing libraries that can be used as a framework for the same?..We'd like to have the ability to define new processes through configuring new xmls/xslts without any changes to the rules engine.
Any other ideas through which we could implement this are also welcome
Many Thanks
Yogz
|
|
|
|
|
I have a login page
When a user logs in, i add some variables to the session, this has been working fine, but now, i would like to let the user choose the "Remember me" option which will create a persistent cookie
By closing the browser, and reopening i am successfully authenticated, but i also need to initialize the session
Where can i add the logic to initialize the session??
Can i do it in the global.asax?? in wich event?
Or is it the only way to add this logic to a basepage and inherit all pages from this basepage?
Any comments and suggestions will be appreciated
Thanks
Alexei Rodriguez
|
|
|
|