|
|
thanks but that doesn't answert my question, i now know that it doesnt have any problems installing but i still don't know if i need to install .net framework 3.5 to go with it?
|
|
|
|
|
Hi using Ajax dll i have created one form in my project...,
If i run with F5 command its working...,
Same like if i give that url in my browser that project page,
(i.e http://Mysytem/Projectname/Form1.aspx )...,
The controls are displaying...,
But that ajax function are not working...,
Whats the problem?,
What i have to do?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
Have you created an AJAX enabled website ? To make AJAX library functioning, web.config requires some more entries. Make sure you have all of them.
|
|
|
|
|
Hi all,
I wanna create Accordion ajax control at run time
For this i tried this:
<br />
Dim accordion As New Accordion<br />
Dim panes As New AccordionPane<br />
<br />
Me.accordion.SelectedIndex = -1<br />
Me.accordion.HeaderCssClass = "accordionHeader"<br />
Me.accordion.ContentCssClass = "accordionContent"<br />
Me.accordion.HeaderSelectedCssClass = "accordionHeaderSelected"<br />
Me.accordion.AutoSize = AjaxControlToolkit.AutoSize.None<br />
Me.accordion.FadeTransitions = "true"<br />
Me.accordion.TransitionDuration = "250"<br />
Me.accordion.FramesPerSecond = "40"<br />
Me.accordion.RequireOpenedPane = "false"<br />
Me.accordion.SuppressHeaderPostbacks = "true"<br />
<br />
Dim header As New Label<br />
header.Text = "Header first"<br />
<br />
Dim contant As New Label<br />
contant.Text = "contant of first header"<br />
<br />
Me.panes.HeaderContainer.Controls.Add(header)<br />
Me.panes.ContentContainer.Controls.Add(contant)<br />
<br />
Me.Page.Controls.Add(Me.accordion)<br />
<br />
It gives error that
The TargetControlID of '_AccordionExtender' is not valid. The value cannot be null or empty.
Any suggestion would be appriciated
Thanks with anticipation
|
|
|
|
|
I have seen many sites, like getafreelancer, codeproject etc. where a time has to be given for each project which is been posted, after that when the time ends that projects status goes to frozen state.
I want to know how this happens.
1) whether admin checks for each and every project that its period ended or not,
2)whether any stored procedure or trigger that runs automatically every 00 hrs.
3) or when a home page is loaded which shows all the project details, on form load i have to chk for each and every prj whether, a prj which has status opened previously reaches its deadline not, if reaches then i make the status of that prj closed. but this technique delays the loading of page.
from the above three methods which one is best
|
|
|
|
|
chanu007 wrote: codeproject etc. where a time has to be given for each project which is been posted, after that when the time ends that projects status goes to frozen state.
You can't compare Codeproject with GetAFreeLancer. Both works in different concept. Codeproject won't expire anything.
chanu007 wrote: from the above three methods which one is best
I'd use a SQL server JOB runs periodically checks and changes the status.
|
|
|
|
|
you can use 2 0r 3. admin checking is unpractical as you donno the number of updates the admin will need to do.
but you must remember one point though.
if you use an sql SP or Trigger then it will be deferred real time. it means that the user is not presented REAL TIME data. this will happen if at all anything that is to expire can be set at a variable time (egs: schedule, alarm, etc)
If you do it on form load then you might stress the DB every time the page loads.
so its a compromise what you want.
hope that helps
|
|
|
|
|
I have one datagrid which displays the data like
<Columns>
<asp:BoundColumn DataField="head" ReadOnly="True" HeaderText="HeadName"></asp:BoundColumn>
<asp:BoundColumn DataField="initial" ReadOnly="True" HeaderText="Initial Amount(1)"</asp:BoundColumn>
<asp:BoundColumn DataField="income" ReadOnly="True" HeaderText="Income(2)"></asp:BoundColumn>
<asp:BoundColumn DataField="bal" ReadOnly="True" HeaderText="Balance(1+2)"></asp:BoundColumn>
</Columns></asp:datagrid>
Above i have goven some dummy example.I am having 2 heads like salary,bonus... etc.I am displaying respective amounts in the grid.but if i want to display indetail in other page having the grid a hyperlink for both salary and bonus.Using hyperlinkcolumn of grid doesnt fulfill my requirement.
Means i want to give a hyperlink in the grid itself for those columns i am displaying in the boundcolumn.
Otherwise how can i give a hyperlink in the grid??
Give me some solution please
kissy
|
|
|
|
|
You can change the column to template column. And add a hyperlink button to there.
|
|
|
|
|
Hello Friends
I am having one tree view control and one list box control.
i want to Drag some items from the listbox under the existing parent node of tree view.
plzz help me out................
Thanks in advance......
Deepak Nigam
|
|
|
|
|
|
|
Hi all,
I got this following error very rarely but occurring some how .. I don't know what exactly happening in my code.. Can anyone say why this error occurs and is this the documentation error in ASP.NET ?
Error I received is...
System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.IndexOutOfRangeException: There is no row at position 0. at System.Data.DataRowCollection.get_Item(Int32 index) at CSIII.AddNote.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Thanks in advance ,
Swapna.
swapna
|
|
|
|
|
swapna_samala wrote: is this the documentation error in ASP.NET
What is documentation error ?
swapna_samala wrote: System.IndexOutOfRangeException: There is no row at position 0. at System.Data.DataRowCollection.get_Item(Int32 index) at CSIII.AddNote.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at
The exception detail is clearly explained here. You are trying to access a row from a DataRowCollection which is empty.
|
|
|
|
|
U r trying to access an invalid index of Rows collection. U r accessing beyoynd the row limits . thim may cause indexoutofrangeexception
|
|
|
|
|
How to upload image on click on only imagebutton
how to open "open file dialoge box" without use of file upload control in asp.net
Best Regards,
Chetan Patel
|
|
|
|
|
You can't. That control is special, it's the only way to upload something, and it's restricted in terms of things you can do to interact with it. You can't put values into it, for example.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All,
I am facing some problem in passing tweo parameters using Eval in GridView.
I tried like this, but there is some javascript error-
<asp:hyperlink id="HyperLink2" runat="server" navigateurl="<%#" +="" eval(="ReportNumber" )="" %="">'
Text= <%# Bind("AcceptNumber") %> /asp:HyperLink>
function OpenDialog(rid,AcceptNumber) {
window.showModalDialog( "PopupAcceptfrm.htm?ReturnList?ReportNumber= "+ rid+ "&AcceptNumber="+ AcceptNumber+ " ',window, 'dialogWidth:800px;pxcenter:yes;help:no;resizable:no;status:no ")
}
when i click on hyperlink in GridView, it shows some havascript error.
this error says that the second parameter i passed , is not identified.
can anybody tell me how to pass two parameters in a javascript function using Eval.
Please help me.
|
|
|
|
|
And what is the URL pointing to ? I see only one parameter, but it's all messed up, did you get your formatting wrong ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
here i m trying to describe with more focus--
I am facing some problem in passing two parameters using Eval in GridView.
I tried like this, but there is some javascript error-
this hyperlink column is in Grigview. which is bind with SQL server Databse.
<asp:hyperlink id="HyperLink2" runat="server" navigateurl="">]]>'
Text= '<%# Bind("AcceptNumber") %>'>
//the javascript function--
function OpenDialog(rid,AcceptNumber) {
window.showModalDialog( "PopupAccept.aspx?ReturnList?ReportNumber= "+ rid+ "&AcceptNumber="+ AcceptNumber+ " ',window, 'dialogWidth:800px;pxcenter:yes;help:no;resizable:no;status:no ")
}
when i click on hyperlink in GridView, it shows some havascript error.
this error says that the second parameter i passed , is not identified.
can anybody tell me how to pass two parameters in a javascript function using Eval.
Please help me.
|
|
|
|
|
window.close() function closes the current web page , but it shows an alert message box befoe closing it.
can i close the window without the alert box?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
No, because the user is always given an option to not close the page.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i have two web pages named abc.aspx and def.aspx
currently i am in the abc.aspx page , while working in this page , can i refresh the def.aspx page ?
both the page are currently opened.i mean one is a pop up window.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Yes, when you create a popup, you can get a reference to it in javascript, which you can use to refresh it, I believe. I don't really know how, off hand, but I do believe it can be done. Have you tried google.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|