• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

refresh treeview under usercontrol

i have form which is updating some values on the bases of that values i need to update my user control in usercontrol i have treeview which i want to refresh, but i am not able to update treeview which is in user control,please give me solution.

Thanks
0
farjack1
Asked:
farjack1
  • 4
  • 4
1 Solution
 
jpaulinoCommented:
what have you done ?
You should be able to access the treeview in user control using:
usercontrolName.TreeViewName
0
 
farjack1Author Commented:
but the controls(treeview) under user control is not accessable. b/c usercontrol is not part if that form.please suggest

Thanks
0
 
jpaulinoCommented:
What usercontrol  is it ?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
farjack1Author Commented:
sorry i corrected the santences.

but the controls(treeview) under user control is not accessable. b/c usercontrol is not part of that form.please suggest

0
 
farjack1Author Commented:
i am explaining again

1- i have a form where i am saving some values

2 - on the bases of save values of form i want to refresh treeview under usercontrol and this user control is in seperate form. i can not access user controls methods b/c user control is in seperate form.

how i will refresh treeview that is in usercontrol.

Thanks
0
 
jpaulinoCommented:
Have you tried:
My.Forms.FormName.UserControl.TreeviewName ?
0
 
farjack1Author Commented:
that great its working.
0
 
jpaulinoCommented:
Glad I could help!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now