|
hi abhijit,
i made the necessary changes and i got it..its working 5n now.thanx
T.Balaji
|
|
|
|
|
|
hi abijit,
thats fantastic.but my requirment is when the href is clicked this should occur and moreover href is NOT inside the grid.kindly go thru my
code.Is it possible to make any check that checkboxes are inside the grid and continue ,like
var isChecked = false;
function check()
{
isChecked = !isChecked;
var checkboxes = document.getElementsByTagName("INPUT");
//HERE I WANT TO CHECK CONDITION LIKE
if(document.getElementbyid("ct100_gvclust1")=="ct100_gvclust1")
// AND CONTINUE
var index;
for(index = 0; index <checkboxes.length;>{
if(isChecked)
checkboxes[index].checked = true;
else
checkboxes[index].checked = false;
}
}
T.Balaji
|
|
|
|
|
Your tag
<a onclick="return check_uncheck1(this );" id="Check" runat="server" href="#">check</a>
and Javascript function is as like this
function check_uncheck1(Val)
{
var ValChecked = Val.checked;
var ValId = Val.id;
var frm = document.forms[0];
// Loop through all elements
for (i = 0; i < frm.length; i++)
{
if(frm.elements[i].checked == true)
{
frm.elements[i].checked=false;
}
else
{
frm.elements[i].checked=true;
}
}
}
|
|
|
|
|
Hi in my form i have 2 div tags,Leftdiv & rightdiv
Between this 2 div one image is there,
When ever i will click that image, the leftdiv have to hide and the entire page rightdiv have to appear...,
And if i click next time image, the leftdiv have to appear width 20% and reamining rightdiv have to appear...,
<b>I cant able to get the path,its redirecting to home page:
So plz follow this url,u will get exactly what i need:
http://zoho.com/crm/online-demo.html
In that plz select Start Demo of Inventory Manager Start Demo...,</b>
There u can get what i need...,
It mean it will like scroll...
Plz any one give me some ideas about this
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Give ID to the above two divs.make both runat="server".And then set the width& hieght of the divs at serevrside on imageclick even
Cheers!!
Brij
|
|
|
|
|
No i want to do this using javascript,
Some thing like scrollleft,scrollright javascript events...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Dear,
I have to tried to use ASP.NET AD with i got a stuck with this
DirectoryEntry de = new DirectoryEntry();
de.Path = "LDAP://IP/CN=Username;DC=Domain";
de.Username = @"username";
de.Password = "password";
"IP, Username, Domain, Passowrd all are correct already"
but i got the error
Thread was being aborted.
Socheat
|
|
|
|
|
use another property
AuthenticationTypes
cheers,
Abhijit
|
|
|
|
|
Can you give me a full example?
Because I don know how to do...
Thanks
Socheat
|
|
|
|
|
DirectoryEntry _obDi=new DicrectroyEntry("LdapPath","Domain\userName","password", AutheticationType.None)
cheers,
Abhijit
|
|
|
|
|
Please check whether you have given fullPath of LDAP server
like
de.Path = "LDAP://IP/CN=Username;OU=OUName;DC="intic";DC="in"";
Cheers!!
Brij
|
|
|
|
|
|
An active directory can have many OUs.OU refers to Orgnisational Unit.
Cheers!!
Brij
|
|
|
|
|
I tried already, but still get error "There is no such object on server"
How can i solve this?
My LDADP "LDAP://192.168.206.1/CN=cheatasp;OUs=OU;DC=DOmain;DC=LOCAL"
Socheat
|
|
|
|
|
Can u provide me the full code and error stacktrace.I thonk then it'll be better to give full answer
Cheers!!
Brij
|
|
|
|
|
txtPath.Text ="LDAP://192.168.206.1/CN=cheatasp;OUs=OU;DC=Domain;DC=LOCAL";
DirectoryEntry rootEntry = new DirectoryEntry(txtPath.Text);
//if (!cbIA.Checked)
//{
// rootEntry.Username = txtUserName.Text.Trim();
// rootEntry.Password = txtPwd.Text.Trim();
//}
rootEntry.Username = "cheatasp";
rootEntry.Password = "xkbDF12";
comboBox1.Items.Clear();
DirectorySearcher searcher = new DirectorySearcher(rootEntry);
foreach (string str in rootEntry.Properties.PropertyNames)
{
comboBox1.Items.Add(str);
}
Socheat
|
|
|
|
|
Socheat.Net wrote: LDAP://192.168.206.1/CN=cheatasp;OUs=OU;DC=Domain;DC=LOCAL
just put it in Browser Addrees bar and press Enter , what happend ? are you getting some thing or not ?
cheers,
Abhijit
|
|
|
|
|
I got the message from browser
THe specified directy service may disconnect, check your connection and try again.
Operation error
Socheat
|
|
|
|
|
Socheat.Net wrote: THe specified directy service may disconnect, check your connection and try again.
Operation error
That's why you are not able to connect through the program.
just type
ldap://LdapserverIP and run.
if this is work in browser put the same thing in Ldappath in you code and dont forget to give Authentication type that i have mention alredy.
Good luck !!!
cheers,
Abhijit
|
|
|
|
|
Thank you socu.....
I got solve now, becuase my pc did not join domain......
Socheat
|
|
|
|
|
Socheat.Net wrote: I got solve now
greate !!!
Socheat.Net wrote: becuase my pc did not join domain
ok. but you can access differet domain from your Cureent domain. suppose your system domain in test.com you can access RemoteTest.com using ldap.
and be aware from "Server is not operation Error"
cheers,
Abhijit
|
|
|
|
|
Hello everybody in this forum
i have one master page file with one form run at server named "form1"
and another content page that uses the master page file when i place inside the <asp:content xmlns:asp="#unknown"> tag of the content page another form run at server i got that exception , when i remove the second form tag inside the content page , there is another exception because there are some server side controls must run inside a form with runat server ???
so in either ways i got an exception , i need to solve the problem of
" A page can have only one server-side Form tag."
is there any solution for that
Human knowledge belongs to the world.
|
|
|
|
|
you dont need any form in content page. just make your content page server side . Runat="Server"
cheers,
Abhijit
|
|
|
|
|
Thanks my friend for your reply
i don't make any form run at server in the content page , i just insert a content tag which points to a content place holder inside the master page file
but the problem is that when i want to place for example two contentplace holders inside the master page suppose the first contentplace holder will contain a login control from the content page
if i want to place another content tag which points to another content place holder inside the master page file which contains controls that must be placed inside a form tag when i either put a form tag which runs at server in either the master page file or content page i got that exception .
the master page code is
<![CDATA[<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>]]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<asp:contentplaceholder id="head" runat="server" xmlns:asp="#unknown">
</asp:contentplaceholder>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server" xmlns:asp="#unknown">
</asp:contentplaceholder>
</div>
</form>
<form id="form2" runat="server">
<asp:contentplaceholder id="ContentPlaceHolder2" runat="server" xmlns:asp="#unknown">
</asp:contentplaceholder>
</form>
</body>
</html>
this is the content page
<![CDATA[<%@ Page Language="C#" AutoEventWireup="true" CodeFile="content.aspx.cs" Inherits="content" MasterPageFile="~/MasterPage.master" %>]]>
<asp:content id="content1" contentplaceholderid="ContentPlaceHolder1" runat="server" xmlns:asp="#unknown">
<asp:login id="Login1" runat="server">
</asp:login>
</asp:content>
<asp:content id="content2" runat="server" contentplaceholderid="ContentPlaceHolder2" xmlns:asp="#unknown">
<asp:login id="Login2" runat="server">
</asp:login>
</asp:content>
i got that error
Human knowledge belongs to the world.
|
|
|
|