|
Hi,
i am usign formview control in my user control. when i use formview.UpdateItem(true), i got this error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control."
I have googled about it, i couldnt sort out the problem. Can anyone help me, please.
thanks,
deep.
|
|
|
|
|
It means you wrote code outside of a databound control ( such as a grid view ) that can only run inside such a control. Such as <%# Eval("columnname") %>
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
What do you mean by outside of control ? do u mean in another class?? this formview is in a usercontrol which i am using in another aspx page. How can i use it in another aspx page without getting error ?
thanks,
deep.
|
|
|
|
|
That is irrelevant. What is relevant is that you've used a data binding statement, in your ascx or aspx, and it's outside of a control that uses such statements.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
|
How can you be sure htey didn't just write the site themselves ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
They sell their CMS and claim they write it, but because of some translation/culture matters in their portal (and some other things) I'm dead sure they just using an open source CMS.
I Wish the Life Had CTRL-Z
|
|
|
|
|
Well, if they sell it, and it's open source, they will be in jail soon, read the court documents to find out if you're right
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
thank you for replaying.
even if the original developer of the CMS does not allow selling it
my country did not accept copyright rules (and as you may know some software vendors restrict our access to their products).
however one of the portal customers asked me if i can develop some modules for them so I'm looking for the module developing help for that CMS.(portal seller will charge extra money for teaching module developing)
I Wish the Life Had CTRL-Z
|
|
|
|
|
i have a textbox and i set the textmode property to TextMode="MultiLine" and in IE it works correctly by wrapping the text but it doesnt work in mozilla firefox
|
|
|
|
|
When i write commission's
it shows as
Commission’s.
Why is it?
|
|
|
|
|
Hard to say, because it works fine here, on an ASP.NET website. Where do you write it, in the aspx ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
my file extension is aspx.
i have this in the body of my document
|
|
|
|
|
can estimate a bool field for gender then display with string(male).
when binding a datatable?
how do?
|
|
|
|
|
Write something like <%# ((bool)Eval("IsMale") ? "Male" : "Female") %>, in other words code that checks the bool and emits the right string.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
dear all,
i am new with .net using c# web developing. i am facing issue while applying themes on my master page css is not affecting any thing pleeeeeeease help me this regard.
Irfan Ghani Pitafi
|
|
|
|
|
How can we help if you don't show us anything and can't describe the problem in a clear way?!
Did you linked in the stylesheet in the master page?
|
|
|
|
|
Create the App_Themes folder, and in the paage directive call the Themes
and enable the Themes in Page directive.
You can use, CSS for this.
|
|
|
|
|
thanks bro. with your help i ahve done it.
Irfan Ghani Pitafi
|
|
|
|
|
confirm the css path is right??
I love li li huang ,
ha ha ,
but you don't who is she!
|
|
|
|
|
Hi All,
My web application is taking too much time to release the page after it loads completly.
Scenario:
I have 9 views in a single page and some views have link with controls in other views. There is no problem with the page load/refresh, afetr it loads the progress bar stays still for some time ie., it doesnt release the page to the user.
Maximum users in the system would be 2600, but as per my perception it doesnt really hurt the application, since it loads quick but takes time to release the page(Struck). Today only 102 users logged into the system at peek time.
Please someone suggest how to tackle this issue.
Im using framework 2.0, SQL Server 2005 and IIS 6 in Windows 2003.
Thanks,
Bala
|
|
|
|
|
HI,
Someone please respond...........
Thanks,
Bala
|
|
|
|
|
You haven't really got the hang of what a volunteer site only offers have you? People will respond in their own time. You haven't really provided information about what you have done to isolate the problem. Is it one of the views that's running slowly? What's disk usage like? Have you looked at the performance counters?
|
|
|
|
|
HI,
Thanks for your response and ill come back with more information
Bala
|
|
|
|
|
Hi, I have a rather stupid question, hope someone can help me.
I am writing a webpage in C#, in VS.NET 2003.
To make things easier I used some user controls.
However, my question how can I access the controls in the webpage.
Let's say I have my aspx page A, and user control B that is within the aspx page A. I have a textbox in the User control B. And I want to pass the value of the textbox to another page from a Button in Aspx page A.
The regular approach of Session["textboxvar"]=TextboxB.Text simply doesn't work. VS.NET 2003 is complaining "The type or namespace name 'TextboxB' could not be found."
How can I access it?
Many, many thanks!!!
|
|
|
|