|
After reading this and searching i found that using frames is the thing i was looking for.
Thanks for the help.
|
|
|
|
|
Always welcome dear
If My post is helpfull to you then please give rating to my reply.
ANuj
|
|
|
|
|
I am working on an (web)intranet application. I am using vb.net with framework 2.0. I have few excel files which have button click events written using VBA. Now I want to show those excel files in my intranet application. I want to open those excel files in my intranet application where the users can click on the button that is placed in excel file and see the data loaded into excel.
These excel files are actually excel reports which get data from sql server. In few files user has to give the date as input and data from sql server will we loaded to excel based on the date parameter.
I want to know the ways of doing the above task
Regards,
Uma
|
|
|
|
|
This is browser depended. Once you click on the excel file link, it'll determine weather need to open on same page itself or on a new window.
http://support.microsoft.com/kb/162059[^]
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi,
I want to create a web page that could be customized by user;
It means user can show some parts, drag them to desired place ... and the setting be saved for next log in.
I think I have two solutions (Except on Silverlight):
1. using asp.net web part
2.using a javascript library like jquery UI
which one is better choice?
Actually these days I hear less about web part(specially in ASP.net 4) and I thought it's not a good solution ever.
Best wishes
|
|
|
|
|
I go with JS, since it is light-weight.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
How to display detail information of a particular product in database? I want to write a web program for online product list which is similar to product list page of online shopping websites on the internet. Could anyone help me??
|
|
|
|
|
On a new C# 2010 asp.net web forms application, I want to add a checkbox list to the web page. I want to bind the checkbox list to a linq data source. The checkbox list will be displayed with items a user can select from based upon what organzation a user picks from in a type ahead text box. Can you tell me and/or refer me to reference(s) that will accomplish this goal? At least a reference on how to use the checkboxlist control?
|
|
|
|
|
I am workin to setup a new C# asp.net 2010 webforms page in an existing website. When I do an add items to an existing file and click on linq to sql, the designer shows up. Then I drag some tables onto the designer surface and the tables show up. However, I do not see the schema. Basically the desinger does not know how the tables are related to each other.
Thus I am assuming that I will not be able to create a data context object? (The other dbml files in the solution are the same way.)
Thus can you tell me and/or refer me to a reference I can use so I can work with a new data context object? Are there work arounds for this problem?
|
|
|
|
|
I am trying to allow the user to download through the browser an XML file from an action method that is in my controller class. I was successful doing this with binary files. For some reason when I execute the following method I get an empty file. I have verified that there is XML data in the MemoryStream object.
public ActionResult DownloadAllRecords()
{
...
// mem is a MemoryStream that contains an XML serialized class.
return File(mem, "application/xml", "XmlFileName");
}
Any help would be greatly appreciated,
Craig
Craig
|
|
|
|
|
Asking the question helped me figure out the answer. I simply convert the stream to a byte array and return that
byte[] xmlBytes = ms.ToArray();
return File(xmlBytes, "application/xml", "XmlFileName");
I still don't know why using a memory stream object did not work.
Craig
|
|
|
|
|
I have a C# asp.net 2010 webform page that I am developing and I have the following two questios:
The following is the line of code I am referring to;
[^]<%@ Page Title="" Language="C#" MasterPageFile="~/Rpt.Master" AutoEventWireup="true" CodeBehind="Atts.aspx.cs" Inherits="Rpt.WebForm3" %>[^]
When I first setup the new webform page, I used the default name of WebForm3 for awhile. After starting to work with the markup file, I renamed the WebForm3 files to Atts in solution explorer. Now the line of code that says
Inherits="Rpt.WebForm3"
will not allow the web page to work if I change the "Rpt.WebForm3" to ="Rpt.Atts".
I do not see a WebForm3 file in the solution file.
1. What could I be doing wrong? Could something be 'wired together' wrong?
2. When the application does not run, I do not know where to check for the real error message that happens? Is there a file a brakpoint spot I should set to see where the problem comes from. What I see is the generic error message in the web config file that displays the final default error message if nothing is runnning.
|
|
|
|
|
Hi
So Rpt is your solution name right.When u rename ur file to Atts.aspx the codebhind=CodeBehind="Atts.aspx.cs"
.
You had wrongly declared in Inherits="Rpt.WebForm3"
it must be Inherits="Rpt.Atts".
While renaming the file the Visual studio on changes the Codebehind and not the Inherits part.
So we need to check.
Thanks
S.Guhnananth
|
|
|
|
|
Hi,
I need to call 3 tables in business layer by using List Collection.
1)I NEED QUERY Clntmast table with clientname.Column
Returned are clientid,cl_Colno# etc.
2)Then i need to query Colector table with cl_Colno#.
how to proceed
ASPX.CS
<pre lang="c#">
Session["CLNTNO"] = ddl_SpecialUser.SelectedItem.Text.Trim();
SupplyChainProcessor processor = new SupplyChainProcessor();
List<SpecialUser> clientName = processor.ShowDetails(Convert.ToString(ddl_SpecialUser.SelectedItem.Text.Trim()));
foreach (SpecialUser dataclientName in clientName)
{
}
BAL:
<pre lang="c#">
public System.Collections.Generic.List<SpecialUser> ShowDetails(string strClientName)
{
SearchClientDataAccess user = new SearchClientDataAccess();
System.Collections.Generic.List<SpecialUser> lstSpecialUser = new System.Collections.Generic.List<SpecialUser>();
lstSpecialUser = user.ShowClientDetails(strClientName);
foreach (SpecialUser specialUser in lstSpecialUser)
{
specialUser.cl_Cred = 0;
}
return lstSpecialUser;
}
|
|
|
|
|
I am asking this question since I am sharing a C# asp.net 2010 solution file with a contract shop. The contract shop in another town has the main control of the solution file. Basically I am working with an older version of the solution file and adding my own web pages to it. When I have completed developing my web pages, I can going to add my code to the general solution file.
Since I am new to working with C# aspx source view and designer files, I am concerned about losing the formatting I setup in my code when adding my new aspx and aspx.cx files to the general solution. Basically right now I am attemtping to line up the tags in the aspx file so I can tell what labels match each other.
Thus will I have a formating problem to be concerned with? If so, is there a way I can prevent from losing the formatting?
|
|
|
|
|
|
This is aeparate thread.
What I am referring to is the following:
When I say I do not want to lose the formatting, I want to show the following example:
The aspx code well formatted code would look like:
^<asp:Content ID="Content5" ContentPlaceHolderID="ReportBody" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Footer" runat="server">
</asp:Content>^
and when I code the code to a new location, I do not want all the tags to merge togetther and look like the following:
^<asp:Content ID="Content5" ContentPlaceHolderID="ReportBody" runat="server"> </asp:Content><asp:Content ID="Content6" ContentPlaceHolderID="Footer" runat="server"></asp:Content>^
I do not want all the tags to merge together. I want the tags on separate lines so it is easier to read and maintain.
Thus when I add my code to the same general solution, I do not want to lose the formatting above.
When I add my code, I am basically saying I will need setup a 'add' new item to the 'general' solution. I will then copy 'working' copy of my code and paste the code into the new web form aspx file I just created.
|
|
|
|
|
I am building an mvc 3 web application. The home page will have a search text box, linkA and linkB. When the user enters text into the search textbox it will search and display results.
I am confused on whether the Search action will be in homecontroller and if I want to display the results on another page then what should I do within this action method.
CodingYoshi
Artificial Intelligence is no match for Human Stupidity.
modified 13-Oct-11 17:45pm.
|
|
|
|
|
I think you have to pass a parameter with (search textbox) value to the next page.
sunaSaRa Imdadhusen
+91 99095 44184
|
|
|
|
|
I am currently working on adding a new page to an existing C# asp.net web forms 2010 application.
On the web page that I am setting up, I was told by my company to place all controls in asp.net Since I am new to working with C# webforms (but have desktop expereince), I have following question:
On one of the row I need to place a listbox that will be tied to a textbox on the previous line in the same table. The textbox on the previous line of the table is going to have a 'type ahead' feature.
Thus would you place the listbox within the same table as all controls on the page or would you you place the listbox in it's own table?
also, can you point me to a reference so I would how to connect (wire together) the textbox with the lsitbox control?
|
|
|
|
|
I am currently working on adding a new page to an existing C# asp.net web forms 2010 application. Since I am new to working with C# webforms (but have desktop expereince), I have following question:
When I drop and drag a control from the toolbox onto sourceview,
I lose the formatting I setup in sourceview.
Thus can you tell me if there is any way to keep the formatting in sourceview so it does not change?
|
|
|
|
|
I answered this in your previous post below.
Hope you are sorted otherwise just give a shout!
Morgs
|
|
|
|
|
I am currently working on adding a new page to an existing C# asp.net web forms 2010 application. Since I am new to working with C# webforms (but have the desktop expereince), I have the following questions/items to mention:
1. The new web page will use the master pages already setup and I am suppose to put all web objetswithin a webfrom table. **This is a requirement of the project.
2. When I am working with the webform table, I am using the designer to create more rows in the table when I need it. However on one row I want a label and a text box embedded in one row of the table. I can not figure out how to drag the label and textbox into the correct cells on the table. The only thing I figured out was to go into the source code side and copy the asp.net label and textboxes into the correct cells.
Thus can you tell me how to drag and drop items from the toolbox into the correct tables within the table?
3. Can you tell me how to drag a gridview control into the correct cell of the table?
4. If you were me, would you create separate tables for each line I am trying to setup in one orginal table?
5. In the source code, I would like the code to line up so I can match the label tags. When I am in source view, I do have the code line up. However, when I drop and drag an item from the toolbox onto the designer, my formatting gets messed up. Is there a way to keep this formatting?
|
|
|
|
|
3) Why use design view? VS Designer has been notorious for mucking with layouts. You can still drag and drop in source view.
4) If it were me I wouldn't use tables at all. The are better performing, more modern methods.
5) see 3
The drag and drop thing is nice but there are times when it is best to just go to the source, and working without the tools is something you should learn.
No comment
|
|
|
|
|
Hi,
It looks to me that you admit when you drag and drop controls from design view onto your page out of HUMAN ERROR you are dropping the controls onto a wrong place/point/spot! YEs i hear you there, you can make such a mistake which as you mentioned is messing with your entire layout. Again you mentioned that if you do the same process in source view you are dropping the controls at the right spot, that's it! you are going to start using source view to design your web pages/forms because that's what is easier for you, and for most of us i guess...
Besides there's a 50% chance that the page design you see in design view won't be the page design you will see when opened in a webbrowser(i.e IE or firefox). In my projects i use source view to create my design and a browser to see my work done so far, i don't remember using design view.
..And like Mark mentioned, try and avoid tables to design your pages. This is old and designers have decided to leave tables alone only if you really need it then you can use tables otherwise try the magic and power of DIV (page division), this element shipped with CSS[^] can start and finish a page design
Happy coding,
Morgs
|
|
|
|