|
do I have to unstall Ajax CTP to use version 1.0. And do you have idea that which one is latest
Thanks
Ranvijay Sahay
|
|
|
|
|
The latest version is 1.0 http://ajax.asp.net/[^]
Yes you should remove the CTP prior to installing the release version
only two letters away from being an asset
|
|
|
|
|
Thanks Mark I'll try this
Ranvijay Sahay
|
|
|
|
|
Can anybody tell me that how to Upload file more than 10 MB of Data(in ASp.Net).
|
|
|
|
|
You have to change maxRequestLength parameter in the <httpruntime> in web.config file for the larger files to get uploaded.
By default that is limited to 4 MB.
Apurva Kaushal
|
|
|
|
|
Add this to web.config file
<httpRuntime
maxRequestLength="EnterYourValue"
executionTimeout="Timeout"
/>
This will tell ASP.NET to wait more time before terminating the process
-- modified at 8:19 Thursday 12th July, 2007
|
|
|
|
|
In the web.config file there is an HttpRuntime element, under that there needs to be maxRequestLength element it defaults to 4096 which is 4MB. So if you want 10 MB you will have to set this value to be 10240.
<httpRuntime
maxRequestLength="10240"
/>
Hope that helps.
Ben
|
|
|
|
|
Thanks All of you for this favour
|
|
|
|
|
i want to create a disscussion board like this..i done half way thru. but the message popup n popout like this messages is not possible...hw can i do that plz help me out...
|
|
|
|
|
Do you mean having a popup window come up in your web app ? The first[^] hit is an article on this very site.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Please clearly explain what is your problem?
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Please explain clearly your problem.
only two letters away from being an asset
|
|
|
|
|
i need to create a disscussion board like this disscussion board..in that i want to show only the subject 1st ..after clicking on subject only the message should show.if i click it again it should be invisible.
|
|
|
|
|
Your problem was clearly explained and answered. I asked Satips to explain his problem, what is gained by being a troll.
only two letters away from being an asset
|
|
|
|
|
OK - then the answer I gave you doesn't really help, I didn't get that from what you said.
To get messages to show and hide, you need to put them in a div ( a div tag does nothing by create a DIVision, it's used for grouping ) and then you'd use javascript to set the visiblity of each div when it's clicked on, something like
function showMessage(messageId)
{
var message = document.getElementById(messageId);
if (message)
{
message.style.display = "block";
}
}
function hideMessage(messageId)
{
var message = document.getElementById(messageId);
if (message)
{
message.style.display = "none";
}
}
Of course, these could be merged into a function that toggles a message. Then, an onclick for each header, would pass through the id of the div containing it's body.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
See the viewsource of this page
|
|
|
|
|
hi friends
i wrote the code in mail.but it sent yahooID only.didnot send others
wat is problem.
can u help me
regards
saravanan
|
|
|
|
|
There are several problems here. The main one is, you've not shown us your code, so we have no idea what could be wrong with it. The other one is, you're not being clear. What do you mean it 'sent yahooID only', did it only send TO yahoo ? Did it only work if you used yahoo as the server ? Please explain.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have a master page & various pages that will use this master page. Each content page will have a CSS & JS file which will be named the same as the content page.
When I try to load the CSS & JS files using the code behind of the content page, my buttons aren't rendered and Im not sure why?
<b>Here is the code for my content page - Properties.aspx:-</b>
<code><%@ Page Language="C#" AutoEventWireup="true" Title="Properties" CodeFile="Properties.aspx.cs" Inherits="Properties" MasterPageFile="~/MasterPage.master"%>
<asp:Content ID="_propertiesContent" ContentPlaceHolderID="_mainContentHolder" runat="Server">
<asp:Label ID="_test" Text="This is the main content panel holder" runat="server" />
<br />
</asp:Content>
<asp:Content ID="_buttonContent" ContentPlaceHolderID="_buttonContentHolder" runat="server" >
<asp:Button ID="Button1" runat="server" Text="Save" CssClass="button" />
<asp:Button ID="Button2" runat="server" Text="Undo" CssClass="button" />
<br />
</asp:Content>
<asp:Content ID="_validationContent" ContentPlaceHolderID="_validationContentHolder" runat="server">
<asp:ValidationSummary ID="validationSummary" ValidationGroup="ValidationGroup" runat="Server" />
</asp:Content></code>
<b>Here is the code behind for Properties.aspx.cs:-</b>
<code>using ASP;
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;
public partial class Properties : Page
{
private string _pageName;
protected void Page_Load(object sender, EventArgs e)
{
_pageName = Page.GetType().Name.Substring(0, Page.GetType().Name.IndexOf("_"));
if (!IsPostBack)
{
LoadStyleSheets();
LoadJavascriptFile();
}
}
private void LoadStyleSheets()
{
HtmlLink link = new HtmlLink();
link.Href = string.Format("~/{0}.css", _pageName);
link.Attributes["text"] = "text/css";
link.Attributes["rel"] = "stylesheet";
this.Header.Controls.Add(link);
}
private void LoadJavascriptFile()
{
HtmlGenericControl javaScriptLink = new HtmlGenericControl();
javaScriptLink.TagName = "script";
javaScriptLink.Attributes.Add("type", "javascript");
javaScriptLink.Attributes.Add("src", string.Format("JS/{0}.js", _pageName));
}
}</code>
<b>My Master Page code is:-</b>
<code><%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" Debug="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Master Page</title>
</head>
<body>
<form id="MainForm" runat="server">
<!-- This bit in here needs to be configurable per page, main content section -->
<asp:ContentPlaceHolder ID="_mainContentHolder" runat="server" />
<!-- This bit in here needs to be configurable per page, button section -->
<asp:ContentPlaceHolder ID="_buttonContentHolder" runat="server" />
<!-- This bit is for the validation summary for each page -->
<asp:ContentPlaceHolder id="_validationContentHolder" runat="server" />
</form>
</body>
</html></code>
<b>If I comment out the methods to Load CSS file & Load JS files in my properties page - then my label text & my buttons are rendered, but if I leave these methods in, then only my Label text renders - Any ideas why?</b>
Many thanks
Janet
|
|
|
|
|
Have you verified that the link being generated is correct ? What if you get rid of this code and hard code a link in a single page, does that work ? My first guess is that the css is creating a style which stops the buttons from rendering.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
Yes the link generated is correct. I did as you suggested and it was a style in the css that was stopping the button from being rendered - Thanks, sometimes you cant see the wood for the trees!
Thanks
Janet
|
|
|
|
|
*grin* I know just what you mean, especially when it comes to CSS.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello Everyone,
Can any one suggest me to get the data from database using datasets.
after that we need to generate the crystal report into PDF format..
Right now i am using vs.net 2005 we need get the data from database located in app_data in 2005 database...
so kindly suggest me how to approach this and give me step by step process...
Many Thanks
Vijay
|
|
|
|
|
hi guys
i am having a small problem as i am new to dot net ,,
i have a query "select * from table abc where filedabc in ? "
i am using oledbconnection
here is my string which i am passing as a parameter to my command object
like
string dept
Dept="'ITS',"
Dept = Dept & "'MECH',"
Dept = Left(Dept, Len(Dept) - 1)
dim par as new oledbparameter("name",Dept)
com.parameters.add(par)
but it doest not give me any result
command is executed withour exception
why ?
thanks in advance
hello
|
|
|
|
|
Which is the method you are using to execute query ?
|
|
|
|