Questions tagged [databinder]
73 questions
1
vote
0 answers
Parser Error Message: The server tag is not well formed. ImageButton

Vivek Samudrala
- 11
- 2
1
vote
2 answers
Why won't DataBinder.Eval work
I am trying to create a simple menu system using repeaters. In the system I want to use a different formatting for class sub items and am trying to use an If that checks the DataBinders results and branches if its "Classes" but when I compile the…

Michael Allen
- 5,712
- 3
- 38
- 63
1
vote
2 answers
Bind label to DataSource.TotalRowCount
I have a custom DataSourceControl class that I'm using somewhat like a view model. I'm coming from WPF databinding land and I would like to be able to bind the text of a label to the TotalRowCount using a databinding expression. I can update the…

NullEntity
- 152
- 11
1
vote
2 answers
How to get Castle MonoRail's DataBinder/SmartDispatcherController to bind against types containing properties that are interfaces?
We're using interfaces to represent entity classes in our domain model. We have concrete implementations of these by virtue of using LinqToSql. We have added a factory method to each LinqToSql class which our service layer uses to instantiate a…

Peter Mounce
- 4,105
- 3
- 34
- 65
1
vote
4 answers
DataBinder.Eval in c#
Hi anybody know how to use databinder.eval in c#
Actually I've tried this
LinkButton lnkName = new LinkButton();
lnkName.CommandArgument = DataBinder.Eval("object","<%#COURSE_ID%>");
it is showing error. Whats the wrong with this?

jestges
- 3,686
- 24
- 59
- 95
1
vote
1 answer
Using Eval If/Else/EndIf in GridView causes error Databinding methods such as Eval(), XPath(), and Bind()
I am trying to pro grammatically alter a value in a GridView based on a returned database value.
The database value "is_zero_minutes_task" is Boolean. If True I wish to display a "0" and if False I wish to display the value returned in…

Rich
- 378
- 7
- 18
1
vote
1 answer
Scala Dispatch Databinder library throws java.nio.BufferUnderflowException
I am using the Dispatch Databinder library for Http in Scala.
I have this method.
def testCheckPage(url:String):String = {
try {
var http = new Http
var request = new Request(url)
val…
user204492
1
vote
1 answer
How can I fetch a binary data stream via scala?
I want to download an image for a given url in a scala program. I am trying to do something like the following but all the dispatcher examples I can find talk about text, not data streams. Can anyone point me to examples of downloading binary from a…

Andrew Bucknell
- 1,880
- 3
- 21
- 32
1
vote
1 answer
Binding empty values to numerical fields in Play Framework 2 (Java)
I have forms where I want to be able to leave some numerical fields empty, but I get "Invalid value" errors from Form.bindFromRequest(). This seems like a common requirement, but I can't find any documentation on this after hours of searching. I am…

Rolf Staflin
- 2,092
- 2
- 22
- 19
1
vote
2 answers
ASP.NET MVC 3 DataBinder.Eval on Viewmodel object throws "does not contain property"
I have a view that was using a standard Model but now I need to add information from two different models on the page. I created a ViewModel after doing some research to handle this. Now I am getting an error when tring to show my view saying:…

Todd Skelton
- 6,839
- 3
- 36
- 48
1
vote
0 answers
Is there a way to use a DataBinder.Eval statement as an index of a specific array in an ASPX page?
Is there a way to use a DataBinder.Eval statement as an index of a specific array in an ASPX page?
I'm trying to develop a page containing a list of bibliographic references, for which I'm using the ASP.NET 2.0 Repeater control.
I'm quite new to…

S3MP
- 113
- 7
1
vote
1 answer
Databinder Eval value.value will not work
I'm testing databinds in ASP.NET with C# Visual Studio. But I've a irritating problem... To show all products from a database I use a repeater with a datasource query. The query is:
SELECT titel, prijs, Product.artikelnummer, bestandnaam FROM…

Jelmer Holtes
- 73
- 1
- 3
- 7
0
votes
2 answers
DataBinder.Eval error in asp.net
I have created a class doing some jobs like GridView inherit from System.Web.UI.WebControls.WebControl.
public class IHGridView : System.Web.UI.WebControls.WebControl
{
// inside here, actually return Repeater class.
protected override…

Joshua Son
- 1,839
- 6
- 31
- 51
0
votes
2 answers
Using databinder syntax inside a TD on aspx page?
I'm thinking this should be possible or something like it:
>
But it's not doing it for me.
Is there a way to do this?
Thanks!

user259286
- 977
- 3
- 18
- 38
0
votes
1 answer
Is there a way to get scala code to ignore ssl validation?
I am trying to download my facebook profile image. I successully use oauth to connect and get all the right tokens, and am told by the facebook API the url for my profile image.
However when I try and retrieve it, I get an error about invalid tls. I…

Andrew Bucknell
- 1,880
- 3
- 21
- 32