I have two browser tabs, tab1 and tab2.
I have a function called execute in tab1, which I would like to call from the page in tab2.
Is that possible and if so how?
I am trying to build a web application in ASP.NET MVC and need build a pretty complex search feature. When a user enters a search term I want to search a variety of data sources which include documents, tables in the database, webpage urls and some APIs like facebook. Any tips, tutorials and hints would be greatly appreciated.
hello friends,
<div>
<label>
Date:
<span><input type="text" id="date" /></span>
<%--<%=Html.EditorFor(model=>model.Date) %>--%> // Should I use this as Input type?
</label>
<label>
Number#:
…
How to invoke a dll that is dynamically created (during runtime) in a sharepoint site? i am recieving an error that i dont have the load permissions.
Any help on this will be grateful.
this code works fine in Firefox but not in IE6.. i made changes using boolean true, false but still..
$('#PbtnSelectAll').click(function() {
$('#PricingEditExceptions input[type=checkbox]').attr('checked', 'checked');
$('#PbtnSubmit').show();
$('#PbtnCancel').show();
…
Hi everyone...
i have a webservice that i want to test by typing the url in the address bar in the web browser
localhost:1981/myProject/admin/autocomplete.asmx
and when i do this it gives this compilation error
CS0234: The type or namespace name 'Oledb' does not exist in the namespace 'System.Data' (are you…
How to apply limit in php, mongodb when using mapreduce function?
I tried this
$cmd=array(// codition array
"mapreduce" => "user",
"map" => $map,
"reduce" => $reduce,
"out" => array("inline" => 1),
"limit"=>2
);
$db=connect();
$query = $db->command($cmd);// run command
But its not…
hello friends,
i have
public jsonresult update(studentinfo s)
{
for(i=0;i>0;i++)
{
var x = // i am getting some x so i am checking again
if( x != null)
{
var updateuser = student.update(s.student,"","");
**return json(updateuser.ToString());** // if i keep it…
Hi all, I'm trying to send large files using UDP Adobe air to CPP. While transferring large files some packets are missing. How can I retrieve the missing packets data? I'm first of all connecting client(air) with server(cpp) using tcp. After connection establishment I'm starting file transfer. I am…
Exactly I ned to do something like this is this possible?
<%
var Controller = null;
if (Model.ID== "ABC")
{
Controller = "Name";
}
else
{
Controller = "Detail";
}
%>
<% using (Html.BeginForm("edit", Controller, FormMethod.Post, new { @id="exc-" +…
I have a asp:dropdownlist which i have changed to jQuery multiselect. I have to group the data inside the dropdown. I am grouping this in runtime.If it is a normal asp dropdown its working. When applying jquery Multiselect its dosen't.
Source:
<link rel="stylesheet" type="text/css"…
I am trying this code to fetch data from wsdl.
Querying the website for the zipid("60630") works fine but in my code it gives the error as
"Invalid ZIP"
wsdlFile = 'http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl'
wsdlObject = WSDL.Proxy(wsdlFile)
wsdlObject.show_methods()
zipid =…
Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack…
Invoke does not exist in the current context. The same method was not giving any error in Form.cs class but when I used in other class in same project it gives error. i am using threading on forms control.
private void UpdateText(object fileName)
{
if…
I have some code in asp.net ( kindly given by someone else ) to query AD to get user name and email etc.
using System.DirectoryServices;
using System.DirectoryServices.ActiveDirectory;
using ActiveDs;
DirectorySearcher search = new DirectorySearcher(new…
applications which require .NET 2.0 and 3.5 are not running after installing VS 2010 which comes with .NET 4.0
Please help me how can i make .NET 2.0 and 3.5 running using .NET 4.0.........
not will be install both .NET 3.5 and .NET 2.0 along with .NET 4.0....
…
Hello All,
XmlSerializer serializer = new XmlSerializer(typeof(IxComment));
System.IO.StringWriter aStream = new System.IO.StringWriter();
serializer.Serialize(aStream,Comments);
commentsString = aStream.ToString();
Here the commentsString has the the…
I have a remote tracking branch tracked locally in my local repository using 'git branch -b branch-name origin/branch-name'.
My remote branch is test2/test2 (origin/branch-name) which is being tracked locally as test2.
The origin is also named test2.
I…
Looking for any decent grid styles designer with standard features such as
select columns from a catalog
Change the ordering of columns
set column font/bold/italic etc.
set column styles - fixed left / right
etc.
Have done it before but don't have…