|
hi
thanks a lot for all the help.. and i am sorry if i am asking way too basic questions.. just started programming..;P
Kunal Piyush
|
|
|
|
|
I am trying to create a base MasterPage class that all the other MasterPages will inherit from. This base class will have some controls so the inheriting MasterPages get those controls automatically.
My problem is that whenever I add controls to my base class it doesnt get added withing the "FORM" tag and I get errors like "Calendar control must be within FORM tag". What am I doing wrong?
this is how I am doing it:
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
string Header = "<div>some text</div>";
this.Controls.Add(new LiteralControl(Header));
}
but when I look at the page it is something like this:
...
<form>
...
...
...
</form>
<div>some text</div>
Any help would be appreicated. Thanks.
|
|
|
|
|
Find the form tag on the master page and add the controls to its collection, not to the master pages' controls collection
only two letters away from being an asset
|
|
|
|
|
Thanks a lot
|
|
|
|
|
our application would need:
1.import data(stock prices) from websites into a database(excel sheets)
2.interfacing excel sheets with the asp application
3.performing manipulations on the data and draw corresponding graphs(line,bar,..)
4.make the application accessible on a network
are asp.net and C# apt for the application?
can someone please help us with relevant code?
regards
ps:please reply asap
besides our email add are:
funwithsiddartha@gmail.com
lovelyritesh_in@yahoo.com
shobhit.samaria@gmail.com
abhinavsharma0507@gmail.com
|
|
|
|
|
I have a formview. When I cancel insert command with e.cancel in OnItemInserting envent, all inputted values in the fromview are gone. Any help is appreciated.
|
|
|
|
|
hi
i am devloping a c# web based appl. i wanted to ask as to how to retreieve data to drop down boxes.
i wanted to update details of employees.. for eg. their state of residence.
though the addition was done by way of drop down box. but now how shud i retrieve the field so that the drop down box shows the state of the employee.
to retrieve to textfields i m using this
fname.Text = "" + dread["FirstName"].ToString();
Kunal Piyush
|
|
|
|
|
fname.Text = dropdownlist.SelectedValue
Not difficult if you read the documentation
only two letters away from being an asset
|
|
|
|
|
i guess this piece of code wud assign the text box the value of the selecte item in the drop down box..
my problem was a bit different, i wanted the value from the database to be reflected in the drop down box..
sorry if i was not able to clarify myself..
Kunal
|
|
|
|
|
|
Mark Nischalke wrote: http://msdn2.microsoft.com/en-us/library/31723w77(vs.80).aspx[^]
Again, not very difficult to find if you look for the information
i dont want to populate the drop down list.
All i want is that the drop down lost box shows a value from the databse of a particular person.
eg. i want to update the state of residence of an employee.. on the update page.. the drop down shud show selected state.. the user is allowed to change the state...
i hope i m clear now.
Kunal Piyush
|
|
|
|
|
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" title="Untitled Page" %>
Line 2:
Line 3: <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Line 4: Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
Line 5: <asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
Source File: /Default.aspx Line: 3
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Sarfarj Ahmed
|
|
|
|
|
Hi there,
You guys realy helped me last time in deploying FCKGrid.
Now again i m facing an issue, i have set these properties of fckeditor, to
view my images folder which lies in root directory.
basepath="~/FCKeditor/"
ImageBrowserURL="../../../images/"
LinkBrowserURL="../../../."
Can anyone help me out, with correct syntax how i can get my uploading of images workin, and preview as well.
Now when i select the image from image folder, and click on send to server,
it does nothing.
Many THanks,
adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
I'm having a problem displaying a Label control in a FormView which is within an UpdatePanel. The Label displays fine if the FormView is moved out of the UpdatePanel.
I'm getting the error:
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
which I know is an Ajax error. I'm running Ajax 1.0
I see that quite a lot of people are experiencing the same error but so far none for the
same reason as me.
|
|
|
|
|
how to add a new Blank row with one Cell to a grid view in run time ?
|
|
|
|
|
Add a blank row in a table and bind it with gridview
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
how to add a new blank row with one cell to a grid view in run time ?
zanado
|
|
|
|
|
how to add a new blank row with one cell to a grid view in run time ?
|
|
|
|
|
Please do no cross post I am looking your problem
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
I am using login status and login control. but the problem when I am clicking log off it get log out but clicking on back button it again enter to site insted of showing login page but after refreshing get resolved.
for log out:
<asp:loginstatus id="LoginStatus1" logoutaction="Redirect" runat="server" logoutpageurl="~/Default.aspx">
config file:
<authentication mode="Forms">
<forms loginurl="default.aspx" protection="All" defaulturl="index.aspx">
<authorization>
<deny users="?">
for login Forms:
Authentication.RedirectFromLoginPage(sLogDets, true);
//FormsAuthenticationTicket tkt = new FormsAuthenticationTicket(1, sLogDets, DateTime.Now, DateTime.Now.AddMinutes(60), true, "");
|
|
|
|
|
Hi all,
Just wondering if anybody knows of a way to convert something like an .avi file into a flash file from a command line, so that a background process can do it after someone has uploaded a file to a web server, without user interaction via an interface.
Any help greatly appreciated.
Thanks
Jugs
|
|
|
|
|
Hi,
I need plot(small circle or square) on the Map(in web)according the data in database which change dynamicaaly.
Pls help!
ahafees@yahoo.com
|
|
|
|
|
|
Hi,
Can i get projects with their Source code.....
I want good Projects....not the basic ones....
It will be of great help if the projects are with some demo....
If anyone is having the projects then he can mail me at varun_khanna17@yahoo.com....it will be of great help if i can view project online so that i can know the flow of project
Varun Khanna
|
|
|
|
|