Hi
I want to call the Stored procedure from My nHibernate Application thats stored Procedure return the List and i will return back to the UI How to call the SP can any one help me on this?
I want to call the sp from the application with out specifying anything in the mapping file my sp return is a list.
public IList GetItemsByfilter(IList Filters)
{
call sp with out using the mapping file sp returns a dataset
}
There is Page Viewer Web Part which can display HTML page. Is there another webpart that can display the content of the Word document or alternatively a way to convert a Document from inside OOTB Sharepoint?
I got very frustrated when I realized that android is not able to display pdfs (in a webview or whatever) out-of-the-box.
So my question, are there any (os) jars or classes to display a pdf document within an app?
Thx in advance,
alex
I send asynchronous call using jQuery form plugin and in the case of success want to redirect user to some "success-page". Now my ASP.NET MVC action just returns some special "success-JSON" and the user is redirected using Javascript.
Is there any way to implement automatic redirect (without Javascript call)?
Hi,
I've defined a model which contains a link an image. Is there a way to display the image in the model items list. (e.g. if I defined an article this way:
class Article(models.Model):
url = models.CharField(max_length = 200, unique = True, help_text="/lessons/")
title = models.CharField(max_length = 500)
img = models.CharField(max_length = 100) # Contains path to image
def __unicode__(self):
return u"%s" %title
)
Is there a way to display image together with title?
Hi,
Is there a way to display the Vertical Axis outside the graph?
I need the limits of the graph to be displayed between the vertical axis, without overlapping the series over the graph.
See that screenshot of what I have:
I need to get something like:
Or I should create a custom axis renderer component that get data from this graph and display it outside?
How to call a function in Objective C? For example:
I define the function in header (.h file):
-(void)abc
and implement this function in implementation file (.m file):
-(void)abc
{
//.....
///....
}
Now how would I call this function from where I need it?
I'm wondering how I can display the recently created nodes by a user on their profile page. I've created a new page for a user at /user/%user and I want to be able to display the latest nodes created by that user.
Hi guys, how can I display data fetched from several rows on a crystal report. Im using vb.net. So far i can just display data fetched from only one row. Thanks for answering
Many examples I've seen don't explicitly call connect(). Instead they just use getInputStream() or getResponseCode().
I'm assuming all of these HttpURLConnection methods that require a connection just call connect() themselves?
Are there any cases where connect() must be explicitly called for an HttpURLConnection?
The UISearchDisplayController is very handy and implementing search is pretty straightforward.
However, I bump into problem when, in my app, I want to display search result with empty search string but selected scope button.
It seems like it's a must to enter some search string in order to get the search result table being initialized and displayed.
Is there any ways to display search result immediately after user has picked a scope but not entered search word yet?
Thanks
Bill
I'm trying to display a disabled textbox with the value 'FL' in it. Somehow the textbox does not have any value when it is displayed, but it is disabled. How do you display a value in a disabled textbox?
<%= Html.TextBoxFor(model => model.State, new { value="FL", disabled="disabled" }) %>
I use the Call keyword used when calling subs in VB/VBA. I know it's optional, but is it better to use it or leave it off? I've always thought it was more explicit, but maybe it's just noise.
Also, I read this on another forum: Using the Call keyword is faster because it knows that it is not going to return any values, so it doesn't need to set up any stackspace to make room for the return value.
Hi,
I have the need to make a call to the System.Xaml library in .NET 4.0. Is it possible to make a call to this library if your project is targeted to 3.5?
Hi,
When I try to call a method from a local ejb I have this error :
java.lang.VerifyError: com/pwc/lu/ejb/hcfollowup/staff/HCFStaffManagerLocal.getPersonById(Ljava/lang/Integer;)Lcom/pwc/lu/mapping/hcfollowup/hibernate/global/Person;
HCFStaffManagerLocal is my local interface and getPersonById an ejb method. Person, the result type.
I can get my ejb but error occurs when trying to call getPersonById method.
I don't understand why it get an exception for Person class...
Any ideas ?
Okay, I am trying (poorly) to successfully make a JSONP call from jQuery on a test page to a WCF web service running locally, as a cross-domain call. I have, at one point or another, either gotten a 1012 URI denied error, gotten a response but in Xml, or just had no response at all. Currently, the way I have it configured it spits back a 1012.
I did not write this web service, so it is entirely possible that I am just missing a configuration setting somewhere, but I've become so frustrated with it that I think just asking on here will be more productive. Thanks guys. Details below.
I have a WCF web service with the following method:
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public decimal GetOrderStatusJson(int jobId)
I am trying to call this method from a jQuery test page, via a cross-domain JSONP call.
<script type="text/javascript">
getJsonAjaxObject(
"http://localhost:3960/ProcessRequests.svc/json/GetOrderStatusJson",
{ "jobId": 232 });
function getJsonAjaxObject(webServiceUrl, jsonData) {
var request = {
type: "POST",
contentType: "application/json; charset=utf-8",
url: webServiceUrl,
data: jsonData,
dataType: "jsonp",
success: function(msg) {
//success!
alert("blah");
},
error: function() {
//oh nos
alert("bad blah");
}
};
$.ajax(request);
}
</script>
Below are the chunks of the web.config I configure for this purpose:
<services>
<service behaviorConfiguration="MWProcessRequestWCF.ProcessRequestsBehavior"
name="MWProcessRequestWCF.ProcessRequests">
<endpoint address="json" behaviorConfiguration="AspNetAjaxBehavior"
binding="webHttpBinding" contract="MWProcessRequestWCF.IProcessRequests" />
<endpoint address="" binding="wsHttpBinding" contract="MWProcessRequestWCF.IProcessRequests">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MWProcessRequestWCF.ProcessRequestsBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="AspNetAjaxBehavior">
<enableWebScript/>
</behavior>
</endpointBehaviors>
</behaviors>
hello
I have my own textbox witch inherits System.Windows.Forms.TextBox
I am trying to display texts like 5000000 formatted == 5,000,000
but the problem is that Control.Text should return 5000000 but it should display 5,000,000.
I know it is WTF, but i really need it and i couldn't Google a lot because my native language is not English(and anyone can get it from my grammar and Im sorry for that).
im trying to display the PDF files in the listview thumnail like windows explorer. I have not any idea about this.
How to display the pdf files. plz suggest some idea.
thanks in advance.
when we mouse over a disabled button in FireFox,The title can't display.In IE ,this action is OK.
<input type='button' disabled='disabled' title='show title' value='Test'/>
As above, In IE ,when we mouse over this button ,the "show title" will display. But in firefox it can't work. Somebody can help me?it will be very appreciate.
I have 2 forms Form1 and Form2, when program executes I want both forms to display but Form2 with ShowDialog(); i.e user has to respond to Form2 before using Form1. How can I achieve this?
Form2 will take userinput and will display on Form1, so do I have to hide Form2 after user responds to Form2 or just kill it.
there is one linkbtn , on click i have to display word document content inside any textBox which supports, i used simple textbox but am facing the formatting problem. and also it does not show image. there is any idea for problem in display word document content inside any textBox .
i dont know about richtextbox, can i get any help, please send me desired code to [email protected]
I try to perform calling of a javascript function from actionscript 3.0 thru
ExternalInterface.call().
I've seen a lot of online examples where the method works perfectly. But all downloaded copies of the examples don't work. Flash player can't call javasript due to the swf-html container security problems. I've already tried to set allowScriptAccess value from "sameDomain" to "always". It haven't solved the problem.
I want to call android application on clicking of button on some website from mobile.
Suppose I am opening one url on android browser and I want to call my application on clicking on button provided by that site. How to do that??
Hi,
I am unable to display images in pages created using Google App Engine(Python).
My app.yaml file has :
- url: /images
static_dir: images
And the python file has:
self.response.out.write("""<img src = '/images/title.gif' />""")
The image still does not display in the page.
Thanks