|
when I try to connect to the database from visual web developer 2005
the test connection tests ok, but I get this error
"the idbtoolsoptionprovider service couldnot be found"
any help would be appreciated
|
|
|
|
|
The Database is a MDF one, SQL Server Express based? I have heard about some issues, you need to configure it to work with your IIS (if you are working using IIS).
Good luck
Braulio
/// -------------------------
Braulio Díez
tipsdotnet.com
/// -------------------------
|
|
|
|
|
Is anyone tell me how much an navigation URL could be weighted. I would like to ask that how much (max) an URL could be as space factor.
Thx
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
Do you want to know about the max size of the URL?
Apurva Kaushal
|
|
|
|
|
Yeah i refer weight to size of URL
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
The max length of a URl in IE can be 2083. You can also have a look at this[^].
Apurva Kaushal
|
|
|
|
|
THX, but if i m in condition that the URL is crossing the limit , what could be the solution .
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
I don't know about any workaround for that. Probably you have to reduce the length.
Apurva Kaushal
|
|
|
|
|
_TORPEDO_ wrote: Is anyone tell me how much an navigation URL could be weighted. I would like to ask that how much (max) an URL could be as space factor.
What do you mean by 'weighted'?
If you are referring to the maximum length of a URL, look at this article[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi i am using session in my project file..,
I declared my sesssion timings in web.config file timeout=20...,
Its working in my system normally,if i give one min also with in one min the session is out...,
same thing in my server i said,but its not considering that session timing,
with in one or 2 min the session is expiring...,
I dont know whats the probs,
Plz anyone help me,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
Can you please elaborate a little bit more on this.
If possible, please post a part of the web.config file which has Session parameters.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
|
Use Server.UrlEncode(url) command to Encode the url.
|
|
|
|
|
Hello
I've populated a tree view from a selfjoined table and now I want to handle the event such that when the user clicks a node, I should just show the data of that record in a formview. I've done something similar in a desktop application but got no idea how to do it here. OnNodeClick was the event in desktop's case but here I dont know how to handle this situation
plz give me a few guidelines
Thanks
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
u check once the selection node changed property of the treeview
|
|
|
|
|
u mean I should handle SelectedNodeChanged event right
void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
{
//TreeNode
}
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
|
I'm on it and hoping for the best
Thanks
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
Unable to cast object of type 'System.Web.UI.WebControls.TreeView' to type 'System.Web.UI.WebControls.TreeNode'
Thats the error I'm getting, here's my code
protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
{
TreeNode node = (TreeNode)sender;
int id = Convert.ToInt32(node.Value);
Categories objCat = new Categories();
objCat.Where.ID.Value = id;
if (objCat.Query.Load())
{
TextBox tb = FormView1.FindControl("CatNameTextBox") as TextBox;
tb.Text = objCat.CatName;
tb = FormView1.FindControl("DescriptionTextBox") as TextBox;
tb.Text = objCat.Description;
CheckBox ck = FormView1.FindControl("IsActiveChkBox") as CheckBox;
ck.Checked = objCat.IsActive;
}
}
what I wanna do is to take the TreeNode Object coz its text and value are the CategoryName and ID respectively. But its unable to cast it to treeNode. Now what??!!
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
Rocky# wrote: TreeNode node = (TreeNode)sender;
Sender is a TreeView.
So convert it to TreeView and from that find the node using FindNode method.
|
|
|
|
|
but how will I know which node was clicked?
how will I find the node that was clicked? Its EventArgs is having no info regarding that?
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
The TreeViewControl.SelectedNode gives the selected node. You can use it in the SelectedNodeChanged Event of the TreeView.
|
|
|
|
|
oh sorry, I didnt see it
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
hi,
What about this
MyTreeView.SelectedNode
|
|
|
|
|
yea I got it just a few moments ago.
Thanks v much , gave for 5 for that Cheers..
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|